Commit ffa6e5ba authored by Chris Lee's avatar Chris Lee

Change new release script to also publish to remote (issue #707)

parent d1f5a46a
......@@ -194,3 +194,9 @@ if __name__ == '__main__':
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")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment