diff options
author | Armin Rigo <arigo@tunes.org> | 2016-03-09 19:48:48 +0100 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2016-03-09 19:48:48 +0100 |
commit | 368b30ae9049b45b4d437c59c7ee58d02771acb0 (patch) | |
tree | 90ac5ce01b8ba24a7af5ce689b2a206112a97692 | |
parent | Added tag release-5.0 for changeset 246c9cf22037 (diff) | |
download | pypy-368b30ae9049b45b4d437c59c7ee58d02771acb0.tar.gz pypy-368b30ae9049b45b4d437c59c7ee58d02771acb0.tar.bz2 pypy-368b30ae9049b45b4d437c59c7ee58d02771acb0.zip |
update
-rwxr-xr-x | pypy/tool/release/repackage.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pypy/tool/release/repackage.sh b/pypy/tool/release/repackage.sh index acbfa89425..cb38158918 100755 --- a/pypy/tool/release/repackage.sh +++ b/pypy/tool/release/repackage.sh @@ -2,6 +2,8 @@ maj=5 min=0 rev=0 +branchname=release-$maj.x # ==OR== release-$maj.$min.x +tagname=release-$maj.$min # ==OR== release-$maj.$min.$rev # This script will download latest builds from the buildmaster, rename the top # level directory, and repackage ready to be uploaded to bitbucket. It will also # download source, assuming a tag for the release already exists, and repackage them. @@ -9,7 +11,7 @@ rev=0 for plat in linux linux64 linux-armhf-raspbian linux-armhf-raring linux-armel osx64 freebsd64 do - wget http://buildbot.pypy.org/nightly/release-$maj.$min.x/pypy-c-jit-latest-$plat.tar.bz2 + wget http://buildbot.pypy.org/nightly/$branchname/pypy-c-jit-latest-$plat.tar.bz2 tar -xf pypy-c-jit-latest-$plat.tar.bz2 rm pypy-c-jit-latest-$plat.tar.bz2 mv pypy-c-jit-*-$plat pypy-$maj.$min.$rev-$plat @@ -18,7 +20,7 @@ for plat in linux linux64 linux-armhf-raspbian linux-armhf-raring linux-armel os done plat=win32 -wget http://buildbot.pypy.org/nightly/release-$maj.$min.x/pypy-c-jit-latest-$plat.zip +wget http://buildbot.pypy.org/nightly/$branchname/pypy-c-jit-latest-$plat.zip unzip pypy-c-jit-latest-$plat.zip mv pypy-c-jit-*-$plat pypy-$maj.$min.$rev-$plat zip -r pypy-$maj.$min.$rev-$plat.zip pypy-$maj.$min.$rev-$plat @@ -26,7 +28,7 @@ rm -rf pypy-$maj.$min.$rev-$plat # Do this after creating a tag, note the untarred directory is pypy-pypy-<hash> # so make sure there is not another one -wget https://bitbucket.org/pypy/pypy/get/release-$maj.$min.$rev.tar.bz2 +wget https://bitbucket.org/pypy/pypy/get/$tagname.tar.bz2 tar -xf release-$maj.$min.$rev.tar.bz2 mv pypy-pypy-* pypy-$maj.$min.$rev-src tar --owner=root --group=root --numeric-owner -cvjf pypy-$maj.$min.$rev-src.tar.bz2 pypy-$maj.$min.$rev-src |