Skip to content

Commit 5030efd

Browse files
authored
change version in setup (#1555)
1 parent ad9b828 commit 5030efd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
else:
2828
tag_list = subprocess.getoutput('git tag').split('\n')
2929
if 'rc' in tag_list[-1]:
30-
if tag_list[-1].split('-')[0] == tag_list[-2]:
30+
if tag_list[-1].split('rc')[0] in tag_list[-2]:
3131
slim_version = tag_list[-2]
3232
else:
3333
slim_version = tag_list[-1]

0 commit comments

Comments
 (0)