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:32 UTC

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

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" />