summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-20 16:11:39 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-20 16:11:39 +0200
commitb1780cf913b54f4c03c74a11ba28dcc065c9d491 (patch)
tree71fc78430bf9c0883922124816e52d3da60a69d5
parent874f6a94bb8998b8dbdfa0a9908050b3aff6036a (diff)
downloadbuildscripts-b1780cf913b54f4c03c74a11ba28dcc065c9d491.tar.gz
buildscripts-b1780cf913b54f4c03c74a11ba28dcc065c9d491.tar.bz2
buildscripts-b1780cf913b54f4c03c74a11ba28dcc065c9d491.zip
signtarballs: Add SHA512 hashsums.
-rwxr-xr-xbin/signtarballs1
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