flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject git commit: [flex-falcon] [refs/heads/release0.7.0] - try to handle custom tags in release mode
Date Wed, 07 Sep 2016 22:29:35 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/release0.7.0 e592939b3 -> 001a88961


try to handle custom tags in release mode


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

Branch: refs/heads/release0.7.0
Commit: 001a88961b4377a9271028cd4112e387f9a65603
Parents: e592939
Author: Alex Harui <aharui@apache.org>
Authored: Wed Sep 7 15:27:42 2016 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Wed Sep 7 15:27:42 2016 -0700

----------------------------------------------------------------------
 releasecandidate.xml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/001a8896/releasecandidate.xml
----------------------------------------------------------------------
diff --git a/releasecandidate.xml b/releasecandidate.xml
index fdcf587..7c2c43a 100644
--- a/releasecandidate.xml
+++ b/releasecandidate.xml
@@ -492,9 +492,14 @@ ${my.name}
 	</target>
 	
     <target name="release.tag" >
+        <condition property="tag" value="apache-flex-falcon-${release.version}-rc${rc}">
+            <not>
+                <isset property="tag" />
+            </not>
+        </condition>
         <exec executable="${git}" dir="${basedir}" failonerror="true" output="${basedir}/taghash.txt">
             <arg value="show" />
-            <arg value="apache-flex-falcon-${release.version}-rc${rc}" />
+            <arg value="${tag}" />
         </exec>
         <replaceregexp file="${basedir}/taghash.txt" match="(.*).commit (.*).Author(.*)"
replace="\2" byline="false" flags="s" />
         <loadfile srcFile="${basedir}/taghash.txt" property="releasehash" />


Mime
View raw message