[ 
https://issues.apache.org/jira/browse/PARQUET-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16258512#comment-16258512
 ] 

ASF GitHub Bot commented on PARQUET-1146:
-----------------------------------------

xhochy closed pull request #414: PARQUET-1146: Add macOS-compatible sha512sum 
call to release verify script
URL: https://github.com/apache/parquet-cpp/pull/414
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/dev/release/verify-release-candidate 
b/dev/release/verify-release-candidate
index 03103976..8555b8a5 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() {


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> C++: Add macOS-compatible sha512sum call to release verify script
> -----------------------------------------------------------------
>
>                 Key: PARQUET-1146
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1146
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-cpp
>    Affects Versions: cpp-1.3.1
>            Reporter: Uwe L. Korn
>            Assignee: Uwe L. Korn
>             Fix For: cpp-1.4.0
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to