You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2009/11/25 08:07:01 UTC

svn commit: r883998 - /qpid/trunk/qpid/bin/release.sh

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