Permalink
Browse files

Release scripts to release from any branch

  • Loading branch information...
William Fulton
William Fulton committed Feb 9, 2014
1 parent 08639f7 commit 1c4213594a6d12484553506b1f81c67e5a84d904
Showing with 4 additions and 3 deletions.
  1. +4 −3 Tools/mkrelease.py
View
@@ -15,17 +15,18 @@ def failed(message):
try:
version = sys.argv[1]
- username = sys.argv[2]
+ branch = sys.argv[2]
+ username = sys.argv[3]
except:
- print "Usage: python mkrelease.py version username"
+ print "Usage: python mkrelease.py version branch username"
print "where version should be x.y.z and username is your SF username"
sys.exit(1)
print "Looking for rsync"
os.system("which rsync") and failed("rsync not installed/found. Please install.")
print "Making source tarball"
-os.system("python ./mkdist.py " + version) and failed("")
+os.system("python ./mkdist.py " + version + " " + branch) and failed("")
print "Build Windows package"
os.system("./mkwindows.sh " + version) and failed("")

0 comments on commit 1c42135

Please sign in to comment.