Skip to content

Commit

Permalink
[Script] Auto release debug (Azure#25098)
Browse files Browse the repository at this point in the history
* 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

* Update PythonSdkLiveTest.yml for Azure Pipelines

* uodate edit_sdk_setup

* fix

* test

* test

* fix bug

* debug

* fix bug

* fix bug

* Update main.py

* move to ci check

* Update main.py

* for test

* restore

* update msg for failed version

Co-authored-by: Yuchao Yan <[email protected]>
  • Loading branch information
BigCat20196 and msyyc authored Jul 6, 2022
1 parent 6ab8997 commit b1ab2bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/auto_release/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ def calculate_next_version_proc(self, last_version: str):
preview_tag = not self.tag_is_stable
changelog = self.get_changelog()
if changelog == '':
return '0.0.0'
msg = 'it should be stable' if self.tag_is_stable else 'it should be perview'
return f'0.0.0 ({msg})'
preview_version = 'rc' in last_version or 'b' in last_version
# | preview tag | stable tag
# preview version(1.0.0rc1/1.0.0b1) | 1.0.0rc2(track1)/1.0.0b2(track2) | 1.0.0
Expand Down

0 comments on commit b1ab2bd

Please sign in to comment.