We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ab8997 commit b1ab2bdCopy full SHA for b1ab2bd
scripts/auto_release/main.py
@@ -285,7 +285,8 @@ def calculate_next_version_proc(self, last_version: str):
285
preview_tag = not self.tag_is_stable
286
changelog = self.get_changelog()
287
if changelog == '':
288
- return '0.0.0'
+ msg = 'it should be stable' if self.tag_is_stable else 'it should be perview'
289
+ return f'0.0.0 ({msg})'
290
preview_version = 'rc' in last_version or 'b' in last_version
291
# | preview tag | stable tag
292
# preview version(1.0.0rc1/1.0.0b1) | 1.0.0rc2(track1)/1.0.0b2(track2) | 1.0.0
0 commit comments