You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by bd...@apache.org on 2019/04/05 10:22:24 UTC

[incubator-openwhisk-release] 01/01: Output the script's SHA1 as a version ID

This is an automated email from the ASF dual-hosted git repository.

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

commit 1c3dca6282752f288d5ea28f3be50d9f5f253516
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Fri Apr 5 12:22:16 2019 +0200

    Output the script's SHA1 as a version ID
---
 tools/rcverify.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/rcverify.sh b/tools/rcverify.sh
index db818da..5c36504 100755
--- a/tools/rcverify.sh
+++ b/tools/rcverify.sh
@@ -59,6 +59,8 @@ The Apache Software Foundation (http://www.apache.org/).
 END
 )
 
+echo "$(basename $0) (script SHA1: $(gpg --print-md SHA1 $0 | cut -d' ' -f2-))"
+
 DIR=$(mktemp -d)
 
 echo working in the following directory: