Repository: calcite-avatica-go
Updated Branches:
  refs/heads/master 4d701ca26 -> 74c8465d9


[CALCITE-2723] Generate SHA512 digest for releases


Project: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/commit/74c8465d
Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/tree/74c8465d
Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/diff/74c8465d

Branch: refs/heads/master
Commit: 74c8465d9bbf78db773640dec68fd72baccb7407
Parents: 4d701ca
Author: Francis Chuang <francischu...@apache.org>
Authored: Wed Dec 5 09:34:13 2018 +1100
Committer: Francis Chuang <francischu...@apache.org>
Committed: Wed Dec 5 09:34:13 2018 +1100

----------------------------------------------------------------------
 make-release-artifacts.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/74c8465d/make-release-artifacts.sh
----------------------------------------------------------------------
diff --git a/make-release-artifacts.sh b/make-release-artifacts.sh
index 68465d5..230e905 100755
--- a/make-release-artifacts.sh
+++ b/make-release-artifacts.sh
@@ -77,7 +77,7 @@ for i in $(git ls-files); do
     if ! [[ -z "$lines" ]]; then
         while read -r line; do
             if ! grep -q 
"github.com/apache/calcite-avatica-go/$tagMajorVersion" <<< "$line" ; then
-            badImportPaths=true
+                badImportPaths=true
                 echo "import for github.com/apache/calcite-avatica-go in $i 
does not have the correct version ($tagMajorVersion) in its path"
             fi
         done <<< "$lines"
@@ -116,8 +116,8 @@ tar -zcf $releaseDir/$tarFile --transform 
"s/^/$product-$tagWithoutRC-src\//g" $
 
 cd $releaseDir
 
-# Calculate SHA256
-gpg --print-md SHA256 $tarFile > $tarFile.sha256
+# Calculate SHA512
+gpg --print-md SHA512 $tarFile > $tarFile.sha512
 
 # Select GPG key for signing
 KEYS=()

Reply via email to