flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [1/2] git commit: [flex-sdk] [refs/heads/develop] - only sign zips and tar.gz files
Date Mon, 20 Jan 2014 20:18:51 GMT
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 <aharui@apache.org>
Authored: Mon Jan 20 12:17:33 2014 -0800
Committer: Alex Harui <aharui@apache.org>
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


Mime
View raw message