You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/06/09 23:46:31 UTC

[1/2] git commit: [flex-utilities] [refs/heads/develop] - add ability to sign exe from mac

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 <ah...@apache.org>
Authored: Mon Jun 9 12:57:36 2014 -0700
Committer: Alex Harui <ah...@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" />


[2/2] git commit: [flex-utilities] [refs/heads/develop] - use different md5 format to make it easier for scripts to work with it

Posted by ah...@apache.org.
use different md5 format to make it easier for scripts to work with it


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

Branch: refs/heads/develop
Commit: f00dba92e3d278f196b8834106c36d2c6b73647f
Parents: 81b812e
Author: Alex Harui <ah...@apache.org>
Authored: Mon Jun 9 14:46:19 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Jun 9 14:46:19 2014 -0700

----------------------------------------------------------------------
 installer/build.xml | 24 ++++--------------------
 1 file changed, 4 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/f00dba92/installer/build.xml
----------------------------------------------------------------------
diff --git a/installer/build.xml b/installer/build.xml
index 3f6f9fa..3c9aec1 100644
--- a/installer/build.xml
+++ b/installer/build.xml
@@ -523,11 +523,7 @@
     </target>
 
 	<target name="sign" >
-		<exec executable="gpg" output="${RELEASE_DIR}/${source.kit}.zip.md5">
-			<arg value="--print-md" />
-			<arg value="MD5" />
-			<arg value="release/${source.kit}.zip" />
-		</exec>
+		<checksum file="${RELEASE_DIR}/${source.kit}.zip" algorithm="md5" forceOverwrite="yes" />
 
 		<exec executable="gpg">
 			<arg value="--armor" />
@@ -537,11 +533,7 @@
 			<arg value="${RELEASE_DIR}/${source.kit}.zip" />
 		</exec>
 
-		<exec executable="gpg" output="${RELEASE_DIR}/${source.kit}.tar.gz.md5">
-			<arg value="--print-md" />
-			<arg value="MD5" />
-			<arg value="release/${source.kit}.tar.gz" />
-		</exec>
+		<checksum file="${RELEASE_DIR}/${source.kit}.tar.gz" algorithm="md5" forceOverwrite="yes" />
 
 		<exec executable="gpg">
 			<arg value="--armor" />
@@ -551,11 +543,7 @@
 			<arg value="${RELEASE_DIR}/${source.kit}.tar.gz" />
 		</exec>
 
-		<exec executable="gpg" output="${RELEASE_DIR}/${binary.kit}.${extension}.md5">
-			<arg value="--print-md" />
-			<arg value="MD5" />
-			<arg value="release/${binary.kit}.${extension}" />
-		</exec>
+		<checksum file="${RELEASE_DIR}/${binary.kit}.${extension}" algorithm="md5" forceOverwrite="yes" />
 
 		<exec executable="gpg">
 			<arg value="--armor" />
@@ -567,11 +555,7 @@
 	</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>
+		<checksum file="${RELEASE_DIR}/${binary.kit}.exe" algorithm="md5" forceOverwrite="yes" />
 
 		<exec executable="gpg">
 			<arg value="--armor" />