diff options
author | X2Go Admin <git-admin@x2go.org> | 2015-02-10 20:22:46 +0100 |
---|---|---|
committer | X2Go Admin <git-admin@x2go.org> | 2015-02-10 20:22:46 +0100 |
commit | d73247d9496f6bf8f0b7bff84af9c375bb0916bc (patch) | |
tree | 9bba1e8603f3cdfe5421d0aeeafaea17172f53da /bin/signtarballs | |
parent | 0f51902f12b82b925facddf3fb460ba643eaf230 (diff) | |
download | buildscripts-d73247d9496f6bf8f0b7bff84af9c375bb0916bc.tar.gz buildscripts-d73247d9496f6bf8f0b7bff84af9c375bb0916bc.tar.bz2 buildscripts-d73247d9496f6bf8f0b7bff84af9c375bb0916bc.zip |
x2go-signtarballs: be more verbose, add sha256 checksums
Diffstat (limited to 'bin/signtarballs')
-rwxr-xr-x | bin/signtarballs | 5 |
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 |