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 2016/09/07 22:40:50 UTC
[49/50] git commit: [flex-falcon] [refs/heads/master] - try to handle
custom tags in release mode
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/master
Commit: 001a88961b4377a9271028cd4112e387f9a65603
Parents: e592939
Author: Alex Harui <ah...@apache.org>
Authored: Wed Sep 7 15:27:42 2016 -0700
Committer: Alex Harui <ah...@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" />