Skip to content

Commit 60b4e77

Browse files
BigCat20196msyyc
andauthored
Update auto-release (Azure#20582)
* version auto-calculation rule * single api version rule * Update main.py * additional rule for track1 * when changelog is null * Update PythonSdkLiveTest.yml for Azure Pipelines Add `ISSUE_LINK` * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update livetest_package.txt * Create create_pr.py * Update PythonSdkLiveTest.yml for Azure Pipelines use python script tu create pr * Update PythonSdkLiveTest.yml for Azure Pipelines * create py * Update PythonSdkLiveTest.yml for Azure Pipelines * Update token * Update token * test create_pr * Update PythonSdkLiveTest.yml for Azure Pipelines * Update create_pr.py * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * add_comment * update by jf * Update PythonSdkLiveTest.yml * Update create_auto_release_pr * Update create_auto_release_pr.py * Update create_auto_release_pr.py * Update yaml and py * Update create_auto_release_pr.py * Update create_auto_release_pr.py * Update create_auto_release_pr.py * Update PythonSdkLiveTest.yml * Update create_auto_release_pr.py * Update PythonSdkLiveTest.yml * Update PythonSdkLiveTest.yml for Azure Pipelines * Update create_auto_release_pr.py Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
1 parent 63d21c5 commit 60b4e77

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

scripts/auto_release/PythonSdkLiveTest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ jobs:
7575
export NEW_BRANCH=`sed -n '1p' $output_path/output.txt`
7676
export TARGET_BRANCH=`sed -n '2p' $output_path/output.txt`
7777
export ISSUE_LINK=$(ISSUE_LINK)
78+
export PIPELINE_LINK=$(PIPELINE_LINK)
7879
export USR_NAME=$(USR_NAME)
7980
export USR_TOKEN=$(USR_TOKEN)
8081
export TEST_RESULT=$test_result

scripts/auto_release/create_auto_release_pr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def main():
88
pr_title = "[AutoRelease] {}(Do not merge)".format(os.getenv('NEW_BRANCH'))
99
pr_head = "{}:{}".format(os.getenv('USR_NAME'), os.getenv('NEW_BRANCH'))
1010
pr_base = os.getenv('TARGET_BRANCH')
11-
pr_body = "{} \n{}".format(os.getenv('ISSUE_LINK'), os.getenv('TEST_RESULT'))
11+
pr_body = "{} \n{} \n{}".format(os.getenv('ISSUE_LINK'), os.getenv('TEST_RESULT'), os.getenv('PIPELINE_LINK'))
1212
res_create = api.pulls.create(pr_title, pr_head, pr_base, pr_body)
1313
pr_number = res_create.number
1414

0 commit comments

Comments
 (0)