未验证 提交 5030efd6 编写于 作者: C ceci3 提交者: GitHub

change version in setup (#1555)

上级 ad9b828c
...@@ -27,7 +27,7 @@ if 'develop' in subprocess.getoutput('git branch'): ...@@ -27,7 +27,7 @@ if 'develop' in subprocess.getoutput('git branch'):
else: else:
tag_list = subprocess.getoutput('git tag').split('\n') tag_list = subprocess.getoutput('git tag').split('\n')
if 'rc' in tag_list[-1]: 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] slim_version = tag_list[-2]
else: else:
slim_version = tag_list[-1] slim_version = tag_list[-1]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册