Skip to content

Commit b1ab2bd

Browse files
BigCat20196msyyc
andauthored
[Script] Auto release debug (Azure#25098)
* 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]>
1 parent 6ab8997 commit b1ab2bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/auto_release/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,8 @@ def calculate_next_version_proc(self, last_version: str):
285285
preview_tag = not self.tag_is_stable
286286
changelog = self.get_changelog()
287287
if changelog == '':
288-
return '0.0.0'
288+
msg = 'it should be stable' if self.tag_is_stable else 'it should be perview'
289+
return f'0.0.0 ({msg})'
289290
preview_version = 'rc' in last_version or 'b' in last_version
290291
# | preview tag | stable tag
291292
# preview version(1.0.0rc1/1.0.0b1) | 1.0.0rc2(track1)/1.0.0b2(track2) | 1.0.0

0 commit comments

Comments
 (0)