You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by di...@apache.org on 2019/03/29 02:55:33 UTC

svn commit: r33319 - /dev/rocketmq/sign.sh

Author: dinglei
Date: Fri Mar 29 02:55:33 2019
New Revision: 33319

Log:
Change SHA512 sign method to using gpg tools

Modified:
    dev/rocketmq/sign.sh

Modified: dev/rocketmq/sign.sh
==============================================================================
--- dev/rocketmq/sign.sh (original)
+++ dev/rocketmq/sign.sh Fri Mar 29 02:55:33 2019
@@ -3,5 +3,6 @@ if [ $# -lt 1 ]; then
     exit -1
 fi
 file=$1
-shasum -a 512 $file|awk '{print $1}' > $file.sha512
+#shasum -a 512 $file|awk '{print $1}' > $file.sha512
+gpg --print-md SHA512 $file > $file.sha512
 gpg -ab $file