apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r151432 - apr/dist/trunk/tools/release.sh
Date Fri, 04 Feb 2005 22:03:53 GMT
Author: jerenkrantz
Date: Fri Feb  4 14:03:52 2005
New Revision: 151432

URL: http://svn.apache.org/viewcvs?view=rev&rev=151432
Log:
Generate bz2 files as well.

Modified:
    apr/dist/trunk/tools/release.sh

Modified: apr/dist/trunk/tools/release.sh
URL: http://svn.apache.org/viewcvs/apr/dist/trunk/tools/release.sh?view=diff&r1=151431&r2=151432
==============================================================================
--- apr/dist/trunk/tools/release.sh (original)
+++ apr/dist/trunk/tools/release.sh Fri Feb  4 14:03:52 2005
@@ -108,6 +108,7 @@
 
 tar cf ${dirname}.tar ${dirname}
 gzip -9 --to-stdout ${dirname}.tar > ${dirname}.tar.gz
+bzip2 -c ${dirname}.tar > ${dirname}.tar.bz2
 compress ${dirname}.tar
 
 echo $split
@@ -123,10 +124,12 @@
   fi
 
   pgp -sba ${dirname}.tar.gz ${user}
+  pgp -sba ${dirname}.tar.bz2 ${user}
   pgp -sba ${dirname}.tar.Z ${user}
 
   if test -x "`which md5sum 2> /dev/null`"; then
     md5sum ${dirname}.tar.gz > ${dirname}.tar.gz.md5
+    md5sum ${dirname}.tar.bz2 > ${dirname}.tar.bz2.md5
     md5sum ${dirname}.tar.Z > ${dirname}.tar.Z.md5
   fi
 elif test -x "`which gpg 2> /dev/null`"; then
@@ -135,9 +138,11 @@
   fi
 
   gpg --armor ${user} --detach-sign ${dirname}.tar.gz
+  gpg --armor ${user} --detach-sign ${dirname}.tar.bz2
   gpg --armor ${user} --detach-sign ${dirname}.tar.Z
 
   gpg --print-md md5 ${dirname}.tar.gz > ${dirname}.tar.gz.md5
+  gpg --print-md md5 ${dirname}.tar.bz2 > ${dirname}.tar.bz2.md5
   gpg --print-md md5 ${dirname}.tar.Z > ${dirname}.tar.Z.md5
 else
   echo "PGP or GnuPG not found!  Not signing release!"



Mime
View raw message