Skip to content

Commit

Permalink
Check call releaes commands
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Jun 10, 2018
1 parent 9e977b3 commit 2d5c79f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
'git push origin master --tag',
'python setup.py sdist upload',
]
sys.exit(sum(subprocess.call(shlex.split(cmd)) for cmd in commands))
for cmd in commands:
subprocess.check_call(shlex.split(cmd))


setup(
Expand Down

0 comments on commit 2d5c79f

Please sign in to comment.