Skip to content

Commit 1abf14b

Browse files
BigCat20196msyyc
andauthored
[Pepeline] SDK Auto release (Azure#24803)
* fix auto-ask-check bug * update comment * update comment * fix bug * Update main.py * Update main.py * Update main.py * fix changelog format for new service * fix check_pprint_name bug * Update main.py * fix check_pprint_name bug * Update main.py * Update main.py * test * test * change to azclibot * change to azure * fix push * test * update * update * test * test * reduction * update main * delete f * Update main.py * test * test * test * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * remove surplus code * Update PythonSdkLiveTest.yml for Azure Pipelines * Update main.py * Update main.py * Update main.py * Update main.py * Update main.py * Update main.py * Update main.py * Update main.py * Update main.py * Update main.py * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * fix bug * update * test * update code * update bot * update main bot * Update PythonSdkLiveTest.yml for Azure Pipelines * Update main.py * Update main.py * change branch for test * for test * for test * for test * add python_tag * restore branch * Update PythonSdkLiveTest.yml * update global_conf * Update auto_codegen.py * Update generate_sdk.py * Update generate_sdk.py * Update generate_sdk.py * Update main.py * Update main.py Co-authored-by: Yuchao Yan <[email protected]>
1 parent 1437455 commit 1abf14b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

scripts/auto_release/PythonSdkLiveTest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ jobs:
8383
export AZURESDK_BOT_TOKEN=$(azuresdk-github-pat)
8484
export STORAGE_CONN_STR=$(storage-conn-str)
8585
export STORAGE_ENDPOINT=$(storage-endpoint)
86+
export PYTHON_TAG=$(PYTHON_TAG)
8687
8788
# run
8889
cd azure-sdk-for-python

scripts/auto_release/main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ def generate_code(self):
178178
'specFolder': self.spec_repo,
179179
'relatedReadmeMdFiles': [str(self.readme_local_folder())]
180180
}
181+
# if Python tag exists
182+
if os.getenv('PYTHON_TAG'):
183+
input_data['python_tag'] = os.getenv('PYTHON_TAG')
181184

182185
self.autorest_result = str(Path(os.getenv('TEMP_FOLDER')) / 'temp.json')
183186
with open(self.autorest_result, 'w') as file:

0 commit comments

Comments
 (0)