You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@parquet.apache.org by uw...@apache.org on 2017/11/19 15:33:39 UTC

[parquet-cpp] branch master updated: PARQUET-1146: Add macOS-compatible sha512sum call to release verify script

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

uwe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-cpp.git


The following commit(s) were added to refs/heads/master by this push:
     new 01fd73f  PARQUET-1146: Add macOS-compatible sha512sum call to release verify script
01fd73f is described below

commit 01fd73f1ec1893dcaf3c648b4f4e4d8405353d21
Author: Korn, Uwe <Uw...@blue-yonder.com>
AuthorDate: Sun Nov 19 16:33:33 2017 +0100

    PARQUET-1146: Add macOS-compatible sha512sum call to release verify script
    
    Author: Korn, Uwe <Uw...@blue-yonder.com>
    
    Closes #414 from xhochy/PARQUET-1146 and squashes the following commits:
    
    74821cc [Korn, Uwe] PARQUET-1146: Add macOS-compatible sha512sum call to release verify script
---
 dev/release/verify-release-candidate | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev/release/verify-release-candidate b/dev/release/verify-release-candidate
index 0310397..8555b8a 100755
--- a/dev/release/verify-release-candidate
+++ b/dev/release/verify-release-candidate
@@ -43,7 +43,11 @@ fetch_archive() {
   download_rc_file ${dist_name}.tar.gz.sha512
   gpg --verify ${dist_name}.tar.gz.asc ${dist_name}.tar.gz
   gpg --print-md MD5 ${dist_name}.tar.gz | diff - ${dist_name}.tar.gz.md5
-  sha512sum ${dist_name}.tar.gz | diff - ${dist_name}.tar.gz.sha512
+  if [ "$(uname)" == "Darwin" ]; then
+    shasum -a 512 ${dist_name}.tar.gz | diff - ${dist_name}.tar.gz.sha512
+  else
+    sha512sum ${dist_name}.tar.gz | diff - ${dist_name}.tar.gz.sha512
+  fi
 }
 
 run_tests() {

-- 
To stop receiving notification emails like this one, please contact
['"commits@parquet.apache.org" <co...@parquet.apache.org>'].