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-utilities] [refs/heads/develop] - add ability to sign exe from mac
Date Mon, 09 Jun 2014 21:46:31 GMT
Repository: flex-utilities
Updated Branches:
  refs/heads/develop 3805cd922 -> f00dba92e


add ability to sign exe from mac


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/81b812e4
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/81b812e4
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/81b812e4

Branch: refs/heads/develop
Commit: 81b812e48fe52861063c363e6895dfa750e6fcf6
Parents: 3805cd9
Author: Alex Harui <aharui@apache.org>
Authored: Mon Jun 9 12:57:36 2014 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Jun 9 12:57:36 2014 -0700

----------------------------------------------------------------------
 installer/build.xml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/81b812e4/installer/build.xml
----------------------------------------------------------------------
diff --git a/installer/build.xml b/installer/build.xml
index ba001b7..3f6f9fa 100644
--- a/installer/build.xml
+++ b/installer/build.xml
@@ -566,6 +566,22 @@
 		</exec>
 	</target>
 
+	<target name="sign_exe" description="sign exe when on mac" >
+		<exec executable="gpg" output="${RELEASE_DIR}/${binary.kit}.exe.md5">
+			<arg value="--print-md" />
+			<arg value="MD5" />
+			<arg value="release/${binary.kit}.exe" />
+		</exec>
+
+		<exec executable="gpg">
+			<arg value="--armor" />
+			<arg value="--output" />
+			<arg value="${RELEASE_DIR}/${binary.kit}.exe.asc" />
+			<arg value="--detach-sig" />
+			<arg value="${RELEASE_DIR}/${binary.kit}.exe" />
+		</exec>
+	</target>
+
     <target name="debug" >
         <copy file="${SOURCE_DIR}/${APP_NAME}-app.xml" todir="${BUILD_DIR}" />
         <mkdir dir="${BUILD_DIR}/installer" />


Mime
View raw message