Change new release script to also publish to remote (issue #707)
This commit is contained in:
@@ -194,3 +194,9 @@ if __name__ == '__main__':
|
|||||||
choice = raw_input().lower()
|
choice = raw_input().lower()
|
||||||
if choice != "y":
|
if choice != "y":
|
||||||
run("git reset --hard HEAD~ ; git tag -d %s ; git tag -d %s" % (version, readable_version))
|
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")
|
||||||
|
|||||||
Reference in New Issue
Block a user