You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2018/03/14 12:33:50 UTC
svn commit: r25702 - /dev/qpid/proton-j/prepare-release.sh
Author: robbie
Date: Wed Mar 14 12:33:50 2018
New Revision: 25702
Log:
update prep script to account for changes in release distribution policy
Modified:
dev/qpid/proton-j/prepare-release.sh
Modified: dev/qpid/proton-j/prepare-release.sh
==============================================================================
--- dev/qpid/proton-j/prepare-release.sh (original)
+++ dev/qpid/proton-j/prepare-release.sh Wed Mar 14 12:33:50 2018
@@ -29,7 +29,7 @@ error () {
echo "Usage: ./prepare-release.sh repo-url version [target-dir (defaults to <version>-rc1, must not exist)]"
echo ""
echo "example:"
- echo "./prepare-release.sh https://repository.apache.org/content/repositories/orgapacheqpid-<staging-id> 0.23.0"
+ echo "./prepare-release.sh https://repository.apache.org/content/repositories/orgapacheqpid-<staging-id> 0.27.0"
echo ""
exit 64
}
@@ -49,14 +49,16 @@ doDownload () {
echo "Downloading $theFile.asc"
curl $completeURL.asc > $theFile.asc
- echo "Downloading $theFile.md5"
- curl $completeURL.md5 > $theFile.md5
-
echo "Verifying signature $theFile.asc"
gpg --verify $theFile.asc
- echo "Augmenting $theFile.md5 with filename details"
+ echo "Downloading $theFile.md5 for verification check only"
+ curl $completeURL.md5 > $theFile.md5
+ echo "Validating MD5 checksum file"
echo " $theFile" >> $theFile.md5
+ md5sum -c $theFile.md5
+ echo "Removing MD5 checksum, we no longer distribute it"
+ rm $theFile.md5
echo "Generating SHA512 checksum file $theFile.sha512"
sha512sum $theFile > $theFile.sha512
@@ -87,8 +89,6 @@ doDownload $repoURL apache-qpid-proton-j
echo ""
echo "--- Download Complete for Release $2. Artifacts are in $target ---"
echo ""
-echo "Validating all MD5 checksum files"
-md5sum -c *.md5
echo "Validating all SHA512 checksum files"
sha512sum -c *.sha512
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org