From commits-return-7164-archive-asf-public=cust-asf.ponee.io@openwhisk.apache.org Tue Apr 9 07:36:06 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1A91F180629 for ; Tue, 9 Apr 2019 09:36:05 +0200 (CEST) Received: (qmail 5277 invoked by uid 500); 9 Apr 2019 07:16:28 -0000 Mailing-List: contact commits-help@openwhisk.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwhisk.apache.org Delivered-To: mailing list commits@openwhisk.apache.org Received: (qmail 5267 invoked by uid 99); 9 Apr 2019 07:16:28 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2019 07:16:27 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 4F57C80B16; Tue, 9 Apr 2019 07:36:05 +0000 (UTC) Date: Tue, 09 Apr 2019 07:36:05 +0000 To: "commits@openwhisk.apache.org" Subject: [incubator-openwhisk-release] branch master updated: Output the source archive's SHA512.. (#268) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <155479536526.12974.6445679810600751647@gitbox.apache.org> From: rabbah@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-openwhisk-release X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: ca8dfc04bf20ae03b91a2553ed560fcae3735814 X-Git-Newrev: 5691b73a434ba9ec3ed76c0ed684fc7aca76d288 X-Git-Rev: 5691b73a434ba9ec3ed76c0ed684fc7aca76d288 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 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..."