提交 f61de735 编写于 作者: K Kentaro Wada

Update setup.py release

上级 135e4258
...@@ -65,8 +65,7 @@ if sys.argv[1] == 'release': ...@@ -65,8 +65,7 @@ if sys.argv[1] == 'release':
commands = [ commands = [
'git tag v{:s}'.format(version), 'git tag v{:s}'.format(version),
'git push origin master --tag', 'git push origin master --tag',
'python setup.py sdist', 'python setup.py sdist upload',
'twine upload dist/labelme-{:s}.tar.gz'.format(version),
] ]
sys.exit(sum(subprocess.call(shlex.split(cmd)) for cmd in commands)) sys.exit(sum(subprocess.call(shlex.split(cmd)) for cmd in commands))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册