Skip to content

Commit af10d05

Browse files
authored
update setup (#1556)
1 parent b23aea1 commit af10d05

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)