summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Fulton <william@tiger.(none)>2014-02-09 22:09:05 +0000
committerWilliam Fulton <william@tiger.(none)>2014-02-09 22:09:05 +0000
commit1c4213594a6d12484553506b1f81c67e5a84d904 (patch)
tree5aff4174d82916f7d592d88837d36a4cc1206cb7
parent08639f7f248c5e0a7621750452ef53a6f6834378 (diff)
downloadswig-maintenance-2.0.tar.gz
Release scripts to release from any branchv2.0.12rel-2.0.12maintenance-2.0
-rwxr-xr-xTools/mkrelease.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Tools/mkrelease.py b/Tools/mkrelease.py
index 9eceba07e..3f49ffd9d 100755
--- a/Tools/mkrelease.py
+++ b/Tools/mkrelease.py
@@ -15,9 +15,10 @@ 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)
@@ -25,7 +26,7 @@ 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("")