diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-10-20 16:11:39 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-10-20 16:11:39 +0200 |
commit | b1780cf913b54f4c03c74a11ba28dcc065c9d491 (patch) | |
tree | 71fc78430bf9c0883922124816e52d3da60a69d5 | |
parent | 874f6a94bb8998b8dbdfa0a9908050b3aff6036a (diff) | |
download | buildscripts-b1780cf913b54f4c03c74a11ba28dcc065c9d491.tar.gz buildscripts-b1780cf913b54f4c03c74a11ba28dcc065c9d491.tar.bz2 buildscripts-b1780cf913b54f4c03c74a11ba28dcc065c9d491.zip |
signtarballs: Add SHA512 hashsums.
-rwxr-xr-x | bin/signtarballs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/signtarballs b/bin/signtarballs index 9438607..24bb6b8 100755 --- a/bin/signtarballs +++ b/bin/signtarballs @@ -6,5 +6,6 @@ find $d/_releases_ -type f | egrep ".*(\.zip|\.tar\.gz|\.exe|\.dmg)$" | while r test -f "${tarball}.md5" || { printf "md5: "; md5sum "${tarball}" | tee "${tarball}.md5"; } test -f "${tarball}.sha1" || { printf "sha1: "; sha1sum "${tarball}" | tee "${tarball}.sha1"; } test -f "${tarball}.sha256" || { printf "sha256: "; sha256sum "${tarball}" | tee "${tarball}.sha256"; } + test -f "${tarball}.sha512" || { printf "sha512: "; sha512sum "${tarball}" | tee "${tarball}.sha512"; } test -f "${tarball}.asc" || { printf "signing ${tarball}... "; gpg -a -b --sign "${tarball}"; printf 'done.\n'; } done |