Skip to content

Commit

Permalink
alpha handling
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Sep 15, 2023
1 parent f71f79f commit a4b595a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_version():
'# END_VERSION_BLOCK' in line):
break
version = f"{major}.{minor}.{build}"
if alpha:
if int(alpha) > 0:
version += f"a{alpha}"
return version

Expand Down

0 comments on commit a4b595a

Please sign in to comment.