openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rab...@apache.org
Subject [incubator-openwhisk-release] branch master updated: Output the source archive's SHA512.. (#268)
Date Tue, 09 Apr 2019 07:36:05 GMT
This is an automated email from the ASF dual-hosted git repository.

rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-release.git


The following commit(s) were added to refs/heads/master by this push:
     new 5691b73  Output the source archive's SHA512.. (#268)
5691b73 is described below

commit 5691b73a434ba9ec3ed76c0ed684fc7aca76d288
Author: Bertrand Delacretaz <bdelacretaz@apache.org>
AuthorDate: Tue Apr 9 09:36:01 2019 +0200

    Output the source archive's SHA512.. (#268)
    
    so that [VOTE] mail archives point to the exact archive that was validated
---
 tools/rcverify.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tools/rcverify.sh b/tools/rcverify.sh
index 5c36504..1467654 100755
--- a/tools/rcverify.sh
+++ b/tools/rcverify.sh
@@ -81,7 +81,7 @@ if [ $IMPORT -ne 0 ]; then
   echo fetching release keys
   curl $DIST/KEYS -s -o "$DIR/$KEYS"
 
-  echo import keys
+  echo importing keys
   gpg --import "$DIR/$KEYS"
 fi
 
@@ -109,10 +109,12 @@ tar zxf "$DIR/$TGZ" -C "$DIR"
 echo "cloning scancode"
 cd "$DIR" && git clone https://github.com/apache/incubator-openwhisk-utilities.git
--depth 1
 
-printf "computing sha512 and validating..."
+echo "computing sha512 for $TGZ"
 EXPECTED=$(cat "$DIR/$TGZ.sha512")
 CMD="cd $DIR && gpg --print-md SHA512 '$TGZ'"
 SHA=$(eval $CMD)
+echo "SHA512: $(tput setaf 6)$SHA$(tput sgr0)"
+printf "validating sha512..."
 validate "$EXPECTED" "$SHA" "$CMD"
 
 printf "verifying asc..."  


Mime
View raw message