From 88feb98fee19a5f2a847d040affcc92f209967cb Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 22 Jul 2013 09:48:06 +1000 Subject: [PATCH] release.sh: support (optional) tar.xz Signed-off-by: Peter Hutterer Reviewed-by: Alan Coopersmith --- release.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/release.sh b/release.sh index b981c95..51f2c9e 100755 --- a/release.sh +++ b/release.sh @@ -101,7 +101,7 @@ git tag: $tar_name RELEASE - for tarball in $targz $tarbz2; do + for tarball in $tarbz2 $targz $tarxz; do cat </dev/null 2>&1 if [ $? -eq 0 ]; then if [ "x$FORCE" = "xyes" ]; then @@ -490,7 +492,7 @@ process_module() { # Upload to host using the 'scp' remote file copy program if [ x"$DRY_RUN" = x ]; then echo "Info: uploading tarballs to web server:" - scp $targz $tarbz2 $USER_NAME$hostname:$srv_path + scp $targz $tarbz2 $tarxz $USER_NAME$hostname:$srv_path if [ $? -ne 0 ]; then echo "Error: the tarballs uploading failed." cd $top_src @@ -546,7 +548,7 @@ process_module() { # --------- Update the JH Build moduleset ----------------- # Failing to update the jh moduleset is not considered a fatal error if [ x"$JH_MODULESET" != x ]; then - for tarball in $targz $tarbz2; do + for tarball in $targz $tarbz2 $tarxz; do if [ x$DRY_RUN = x ]; then sha1sum=`$SHA1SUM $tarball | cut -d' ' -f1` $top_src/util/modular/update-moduleset.sh $JH_MODULESET $sha1sum $tarball -- 2.11.4.GIT