Skip to content

Commit

Permalink
🐛 FIx CI version names (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushuk authored Jan 22, 2024
1 parent a0c047e commit 2da1cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

try:
with open(os.devnull, 'w') as devnull:
v = subprocess.check_output(['git', 'describe', '--dirty', '--abbrev'], stderr=stdout).decode().strip()
v = subprocess.check_output(['git', 'describe', '--tags', '--dirty', '--abbrev'], stderr=stdout).decode().strip()
if '-' in v:
bv = v[:v.index('-')]
bv = bv[:bv.rindex('.') + 1] + str(int(bv[bv.rindex('.') + 1:]) + 1)
Expand Down

0 comments on commit 2da1cd4

Please sign in to comment.