Skip to content

Commit

Permalink
fix version string in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored May 9, 2022
1 parent 8240373 commit b6981b8
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 @@ -38,7 +38,7 @@ def get_version():
'# END_VERSION_BLOCK' in line):
break
version = f"{major}.{minor}.{build}"
if alpha:
if int(alpha):
version += f"a{alpha}"
return version

Expand Down

0 comments on commit b6981b8

Please sign in to comment.