diff options
author | William Fulton <william@tiger.(none)> | 2014-02-09 22:09:05 +0000 |
---|---|---|
committer | William Fulton <william@tiger.(none)> | 2014-02-09 22:09:05 +0000 |
commit | 1c4213594a6d12484553506b1f81c67e5a84d904 (patch) | |
tree | 5aff4174d82916f7d592d88837d36a4cc1206cb7 | |
parent | 08639f7f248c5e0a7621750452ef53a6f6834378 (diff) | |
download | swig-1c4213594a6d12484553506b1f81c67e5a84d904.tar.gz |
Release scripts to release from any branchv2.0.12rel-2.0.12maintenance-2.0
-rwxr-xr-x | Tools/mkrelease.py | 7 |
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("") |