add signing

Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/3f7bc048
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/3f7bc048
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/3f7bc048

Branch: refs/heads/develop
Commit: 3f7bc0484293402fafe4f290db843648eb8a3fc2
Parents: 31ce177
Author: Alex Harui <aha...@apache.org>
Authored: Mon Apr 7 22:52:46 2014 -0700
Committer: Alex Harui <aha...@apache.org>
Committed: Mon Apr 7 22:52:46 2014 -0700

----------------------------------------------------------------------
 build.xml | 36 +++++++++++++++++++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3f7bc048/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 3ea5630..c221486 100644
--- a/build.xml
+++ b/build.xml
@@ -1553,5 +1553,39 @@
                <checksum algorithm="md5" 
file="${basedir}/out/${source.kit}.tar.gz" forceOverwrite="yes"/>
                <checksum algorithm="md5" 
file="${basedir}/out/${source.kit}.zip" forceOverwrite="yes"/>
        </target>
-       
+
+    <target name="sign" >
+        <exec executable="gpg">
+            <arg value="--armor" />
+            <arg value="--output" />
+            <arg value="${basedir}/out/${source.kit}.zip.asc" />
+            <arg value="--detach-sig" />
+            <arg value="${basedir}/out/${source.kit}.zip" />
+        </exec>
+        
+        <exec executable="gpg">
+            <arg value="--armor" />
+            <arg value="--output" />
+            <arg value="${basedir}/out/${source.kit}.tar.gz.asc" />
+            <arg value="--detach-sig" />
+            <arg value="${basedir}/out/${source.kit}.tar.gz" />
+        </exec>
+        
+        <exec executable="gpg">
+            <arg value="--armor" />
+            <arg value="--output" />
+            <arg value="${basedir}/out/${binary.kit}.zip.asc" />
+            <arg value="--detach-sig" />
+            <arg value="${basedir}/out/${binary.kit}.zip" />
+        </exec>
+        
+        <exec executable="gpg">
+            <arg value="--armor" />
+            <arg value="--output" />
+            <arg value="${basedir}/out/${binary.kit}.tar.gz.asc" />
+            <arg value="--detach-sig" />
+            <arg value="${basedir}/out/${binary.kit}.tar.gz" />
+        </exec>
+    </target>
+        
 </project>

Reply via email to