You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by gn...@apache.org on 2009/09/07 11:24:29 UTC

svn commit: r812053 - /felix/trunk/check_staged_release.sh

Author: gnodet
Date: Mon Sep  7 09:24:22 2009
New Revision: 812053

URL: http://svn.apache.org/viewvc?rev=812053&view=rev
Log:
Improve release checking script a bit by automatically downloading the keys

Modified:
    felix/trunk/check_staged_release.sh

Modified: felix/trunk/check_staged_release.sh
URL: http://svn.apache.org/viewvc/felix/trunk/check_staged_release.sh?rev=812053&r1=812052&r2=812053&view=diff
==============================================================================
--- felix/trunk/check_staged_release.sh (original)
+++ felix/trunk/check_staged_release.sh Mon Sep  7 09:24:22 2009
@@ -4,6 +4,9 @@
 DOWNLOAD=${2:-/tmp/felix-staging}
 mkdir ${DOWNLOAD} 2>/dev/null
 
+wget --no-check-certificate -P "${DOWNLOAD}" http://www.apache.org/dist/felix/KEYS 
+gpg --import "${DOWNLOAD}/KEYS"
+
 if [ -z "${STAGING}" -o ! -d "${DOWNLOAD}" ]
 then
  echo "Usage: check_staged_release.sh <staging-number> [temp-directory]"
@@ -18,7 +21,7 @@
 
  wget \
   -r -np "--reject=html,txt" "--follow-tags=" \
-  -P "${DOWNLOAD}/${STAGING}" -nH "--cut-dirs=3" --ignore-length \
+  -P "${DOWNLOAD}/${STAGING}" -nH "--cut-dirs=3" --ignore-length --no-check-certificate \
   "http://repository.apache.org/content/repositories/felix-staging-${STAGING}/org/apache/felix/"
 
 else