Change new release script to also publish to remote (issue #707)
Chris Lee @klee93
1 files changed,
6 insertions(+),
0 deletions(-)
jump to
M
new-release.py
→
new-release.py
@@ -194,3 +194,9 @@ print "Does this look correct? [y/n]"
choice = raw_input().lower() if choice != "y": run("git reset --hard HEAD~ ; git tag -d %s ; git tag -d %s" % (version, readable_version)) + sys.exit(1) + print "Publish? [y/n]" + choice = raw_input().lower() + if choice != "y": + sys.exit(1) + run("git push origin master && git push --tags origin master")