This is an automated email from the ASF dual-hosted git repository.
poorejc pushed a commit to branch FLAGON-344
in repository https://gitbox.apache.org/repos/asf/incubator-flagon.git
The following commit(s) were added to refs/heads/FLAGON-344 by this push:
new f4c04e0 [FLAGON-414] Updated release scripts--they no longer produce
md5 sigs
f4c04e0 is described below
commit f4c04e0842c713bc73f42937535d3ade1ec30a11
Author: poorejc <[email protected]>
AuthorDate: Thu Jun 20 23:32:57 2019 -0400
[FLAGON-414] Updated release scripts--they no longer produce md5 sigs
---
release/make-release-artifacts.sh | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/release/make-release-artifacts.sh
b/release/make-release-artifacts.sh
index 8bf5732..0ad2989 100755
--- a/release/make-release-artifacts.sh
+++ b/release/make-release-artifacts.sh
@@ -211,15 +211,13 @@ cp ${src_staging_dir}/NOTICE
${bin_staging_dir}/${release_name}-bin
###############################################################################
# Signatures and checksums
-# OSX doesn't have md5sum, sha1sum, and sha256sum, even if MacPorts md5sha1sum
package is installed.
+# OSX doesn't have sha1sum, and sha256sum, even if MacPorts md5sha1sum package
is installed.
# Easy to fake it though.
-which md5sum >/dev/null || alias md5sum='md5 -r' && shopt -s expand_aliases
which sha1sum >/dev/null || alias sha1sum='shasum -a 1' && shopt -s
expand_aliases
which sha256sum >/dev/null || alias sha256sum='shasum -a 256' && shopt -s
expand_aliases
( cd ${artifact_dir} &&
for a in *.tar.gz *.zip; do
- md5sum ${a} > ${a}.md5
gpg2 --print-md SHA512 ${a} > ${a}.sha512
gpg2 --armor --output ${a}.asc --detach-sig ${a}
done