summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/signtarballs5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/signtarballs b/bin/signtarballs
index 81fa596..12be260 100755
--- a/bin/signtarballs
+++ b/bin/signtarballs
@@ -3,8 +3,9 @@
test -d _releases_ && cd _releases_ || test -d ../_releases_ && cd ../_releases_ || exit -1
find * -type f | egrep ".*(\.zip|\.tar\.gz|\.exe|\.dmg)$" | while read tarball; do
- test -f $tarball.md5 || md5sum $tarball > $tarball.md5
- test -f $tarball.sha1 || sha1sum $tarball > $tarball.sha1
+ test -f $tarball.md5 || md5sum $tarball | tee $tarball.md5
+ test -f $tarball.sha1 || sha1sum $tarball | tee $tarball.sha1
+ test -f $tarball.sha256 || sha256sum $tarball | tee $tarball.sha256
test -f $tarball.asc || gpg -a -b --sign $tarball
done