Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Aug 20, 2017
1 parent 299c005 commit c1a06ad
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@


if sys.argv[1] == 'release':
for cmd in [
'python setup.py sdist upload',
'git tag v{0}'.format(version),
'git push origin master --tag']:
commands = [
'python setup.py sdist',
'twine upload dist/labelme-{:s}.tar.gz'.format(version),
'git tag v{:s}'.format(version),
'git push origin master --tag',
]
for cmd in commands:
subprocess.call(shlex.split(cmd))
sys.exit(0)

Expand Down

0 comments on commit c1a06ad

Please sign in to comment.