Improve release checking script a bit by automatically downloading the keys
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@812053 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/check_staged_release.sh b/check_staged_release.sh
index 2b3b4b7..065713c 100755
--- a/check_staged_release.sh
+++ b/check_staged_release.sh
@@ -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