Skip to content

Commit

Permalink
Fix double increase in release script
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdwetering committed Nov 16, 2024
1 parent bc96933 commit 78028d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,7 @@ def main(args):
)

# Changing from alpha to beta should bump the version before release
version_diff = next_manifest_version - manifest_version
if version_diff.modifier:
if manifest_version.alpha and next_manifest_version.beta:
next_version = next_manifest_version
else:
next_version = manifest_version
Expand Down

0 comments on commit 78028d9

Please sign in to comment.