8000 Updating source artifact generation script to use sha512 and --armor … · coder-xing/flume@d4fcab4 · GitHub
[go: up one dir, main page]

Skip to content

Commit d4fcab4

Browse files
committed
Updating source artifact generation script to use sha512 and --armor with gpg
1 parent cb8f1f5 commit d4fcab4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev-support/sign-checksum-artifact.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ fi
3636

3737
# The tools we need.
3838
GPG=$(find_in_path gpg)
39-
SHA512=$(find_in_path sha512sum)
39+
SHA512="$(find_in_path shasum) -a 512"
4040

4141
# Now sign and checksum the artifact.
4242
set -x
43-
$GPG --sign $ARTIFACT
43+
$GPG --sign --armor $ARTIFACT
4444
$SHA512 < $ARTIFACT > $ARTIFACT.sha512

0 commit comments

Comments
 (0)
0