Skip to content

Commit

Permalink
change version in setup (#1555)
Browse files Browse the repository at this point in the history
  • Loading branch information
ceci3 authored Nov 25, 2022
1 parent ad9b828 commit 5030efd
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 @@ -27,7 +27,7 @@
else:
tag_list = subprocess.getoutput('git tag').split('\n')
if 'rc' in tag_list[-1]:
if tag_list[-1].split('-')[0] == tag_list[-2]:
if tag_list[-1].split('rc')[0] in tag_list[-2]:
slim_version = tag_list[-2]
else:
slim_version = tag_list[-1]
Expand Down

0 comments on commit 5030efd

Please sign in to comment.