qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject svn commit: r883998 - /qpid/trunk/qpid/bin/release.sh
Date Wed, 25 Nov 2009 07:07:01 GMT
Author: astitcher
Date: Wed Nov 25 07:07:01 2009
New Revision: 883998

URL: http://svn.apache.org/viewvc?rev=883998&view=rev
Log:
Allow signing release with specific key by specifying SIGNING_KEY env var.

Modified:
    qpid/trunk/qpid/bin/release.sh

Modified: qpid/trunk/qpid/bin/release.sh
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/bin/release.sh?rev=883998&r1=883997&r2=883998&view=diff
==============================================================================
--- qpid/trunk/qpid/bin/release.sh (original)
+++ qpid/trunk/qpid/bin/release.sh Wed Nov 25 07:07:01 2009
@@ -206,7 +206,10 @@
 if [ "SIGN" == "$SIGN" ] ; then
   pushd artifacts
   sha1sum *.zip *.gz *.svnversion > SHA1SUM
-  for i in `find . | egrep 'jar$|pom$|gz$|zip$|svnversion$|SHA1SUM'`; do gpg --sign --armor
--detach $i; done;
+  if [ ! -z $SIGNING_KEY ] ; then
+    KEYOPTION="--default-key $SIGNING_KEY"
+  fi
+  for i in `find . | egrep 'jar$|pom$|gz$|zip$|svnversion$|SHA1SUM'`; do gpg --sign --armor
--detach $KEYOPTION $i; done;
   popd
 fi
 



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message