From 86b60413dccda6ceb5b8a6837973f4201debf553 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 1 Jan 2013 01:41:17 +0100 Subject: Add script: signtarballs --- bin/signtarballs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 bin/signtarballs (limited to 'bin/signtarballs') diff --git a/bin/signtarballs b/bin/signtarballs new file mode 100755 index 0000000..eb8ed46 --- /dev/null +++ b/bin/signtarballs @@ -0,0 +1,13 @@ +#!/bin/bash + +test -d _releases_ && cd _releases_ || test -d ../_releases_ && cd ../_releases_ || exit -1 + +find * | egrep ".*(\.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.asc || gpg -a -b --sign $tarball +done + + + + -- cgit v1.2.3