geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r366324 - /geronimo/gbuild/sign.sh
Date Thu, 05 Jan 2006 22:53:19 GMT
Author: dblevins
Date: Thu Jan  5 14:53:15 2006
New Revision: 366324

URL: http://svn.apache.org/viewcvs?rev=366324&view=rev
Log:
This should work better

Modified:
    geronimo/gbuild/sign.sh

Modified: geronimo/gbuild/sign.sh
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/sign.sh?rev=366324&r1=366323&r2=366324&view=diff
==============================================================================
--- geronimo/gbuild/sign.sh (original)
+++ geronimo/gbuild/sign.sh Thu Jan  5 14:53:15 2006
@@ -5,22 +5,16 @@
 }
 function sign {
     archive=$1
-    phrase=$2
-    echo $prase | gpg -passphrase-fd 0 --armor --output $archive.asc --detach-sig $archive
+    gpg --armor --output $archive.asc --detach-sig $archive
     gpg --verify $archive.asc $archive
 }
 function fail () { echo $1 >&2; exit 1;}
-function package () {
-    DEST=$1; SOURCE=$2
-    tar czf $DEST.tar.gz $SOURCE
-    zip -9rq $DEST.zip $SOURCE
-}
 
 #  Let's create checksums for our source and binary tars and zips.
 for archive in $DIST/*.{zip,tar.gz}; do
     echo $archive
     shash md5 $archive
     shash sha $archive
-    sign $archive $PHRASE
+    sign $archive
 done || fail "Unable to sign or hash release archives"
 



Mime
View raw message