Skip to content

Commit

Permalink
Update auto-release (Azure#20582)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
BigCat20196 and msyyc committed Sep 8, 2021
1 parent 63d21c5 commit 60b4e77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/auto_release/PythonSdkLiveTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ jobs:
export NEW_BRANCH=`sed -n '1p' $output_path/output.txt`
export TARGET_BRANCH=`sed -n '2p' $output_path/output.txt`
export ISSUE_LINK=$(ISSUE_LINK)
export PIPELINE_LINK=$(PIPELINE_LINK)
export USR_NAME=$(USR_NAME)
export USR_TOKEN=$(USR_TOKEN)
export TEST_RESULT=$test_result
Expand Down
2 changes: 1 addition & 1 deletion scripts/auto_release/create_auto_release_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def main():
pr_title = "[AutoRelease] {}(Do not merge)".format(os.getenv('NEW_BRANCH'))
pr_head = "{}:{}".format(os.getenv('USR_NAME'), os.getenv('NEW_BRANCH'))
pr_base = os.getenv('TARGET_BRANCH')
pr_body = "{} \n{}".format(os.getenv('ISSUE_LINK'), os.getenv('TEST_RESULT'))
pr_body = "{} \n{} \n{}".format(os.getenv('ISSUE_LINK'), os.getenv('TEST_RESULT'), os.getenv('PIPELINE_LINK'))
res_create = api.pulls.create(pr_title, pr_head, pr_base, pr_body)
pr_number = res_create.number

Expand Down

0 comments on commit 60b4e77

Please sign in to comment.