Updated Branches: refs/heads/develop 009eb4e8a -> 91b904643
only sign zips and tar.gz files Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/b1220ee6 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/b1220ee6 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/b1220ee6 Branch: refs/heads/develop Commit: b1220ee6ebd16745eecefc93bdd49276783d0578 Parents: 009eb4e Author: Alex Harui <[email protected]> Authored: Mon Jan 20 12:17:33 2014 -0800 Committer: Alex Harui <[email protected]> Committed: Mon Jan 20 12:18:50 2014 -0800 ---------------------------------------------------------------------- build/sign_and_hash.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/b1220ee6/build/sign_and_hash.sh ---------------------------------------------------------------------- diff --git a/build/sign_and_hash.sh b/build/sign_and_hash.sh index 13444c7..e697d7e 100755 --- a/build/sign_and_hash.sh +++ b/build/sign_and_hash.sh @@ -47,7 +47,7 @@ #------------------------------------------------------------------------------ `rm -f *.asc` `rm -f *.md5` -for file in *; do +for file in *.zip; do if [ -f "$file" ]; then #md5sum -b $file > ${file}.md5 md5 -q $file > ${file}.md5 @@ -55,3 +55,11 @@ for file in *; do gpg --verify ${file}.asc $file fi done +for file in *.gz; do + if [ -f "$file" ]; then + #md5sum -b $file > ${file}.md5 + md5 -q $file > ${file}.md5 + gpg --armor --output ${file}.asc --detach-sig $file + gpg --verify ${file}.asc $file + fi +done
