Repository: flume Updated Branches: refs/heads/flume-1.9 cb8f1f576 -> d4fcab4f5
Updating source artifact generation script to use sha512 and --armor with gpg Project: http://git-wip-us.apache.org/repos/asf/flume/repo Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/d4fcab4f Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/d4fcab4f Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/d4fcab4f Branch: refs/heads/flume-1.9 Commit: d4fcab4f501d41597bc616921329a4339f73585e Parents: cb8f1f5 Author: Ferenc Szabo <[email protected]> Authored: Mon Dec 17 18:21:18 2018 +0100 Committer: Ferenc Szabo <[email protected]> Committed: Mon Dec 17 18:21:18 2018 +0100 ---------------------------------------------------------------------- dev-support/sign-checksum-artifact.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/d4fcab4f/dev-support/sign-checksum-artifact.sh ---------------------------------------------------------------------- diff --git a/dev-support/sign-checksum-artifact.sh b/dev-support/sign-checksum-artifact.sh index 272089b..ed399fa 100755 --- a/dev-support/sign-checksum-artifact.sh +++ b/dev-support/sign-checksum-artifact.sh @@ -36,9 +36,9 @@ fi # The tools we need. GPG=$(find_in_path gpg) -SHA512=$(find_in_path sha512sum) +SHA512="$(find_in_path shasum) -a 512" # Now sign and checksum the artifact. set -x -$GPG --sign $ARTIFACT +$GPG --sign --armor $ARTIFACT $SHA512 < $ARTIFACT > $ARTIFACT.sha512
