diff options
author | Andy Green <andy.green@linaro.org> | 2011-11-22 10:21:03 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-11-22 10:21:03 +0800 |
commit | 9b4667e140528865e92d24021664b03b558f9472 (patch) | |
tree | d7dcc6e8c462a4a4cb4535f644a1bf56ca810a5b | |
parent | 6691789991dbc23b3f533ace2ba5010224318e5d (diff) |
create tarballs on leb release
Signed-off-by: Andy Green <andy.green@linaro.org>
-rwxr-xr-x | scripts/stg-leb-release-tag.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/stg-leb-release-tag.sh b/scripts/stg-leb-release-tag.sh index b516846..9b0aa80 100755 --- a/scripts/stg-leb-release-tag.sh +++ b/scripts/stg-leb-release-tag.sh @@ -24,5 +24,13 @@ else fi git push ssh://$CREDS/$LEB_REPO $1:refs/tags/$1 + + echo "Creating $1.tar.gz tarball to upload to launchpad" + echo "https://launchpad.net/linaro-landing-team-$LTNAME/+milestone/`echo "$1" | cut -d'-' -f3`.`echo "$1" | cut -d'-' -f4`" + + git archive --format=tar refs/tags/$1 | gzip > $1.tar.gz + ls -l $1.tar.gz + + echo "done" fi |