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:34:24 UTC
[49/50] git commit: [flex-asjs] [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-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b5dd2b92
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b5dd2b92
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b5dd2b92
Branch: refs/heads/master
Commit: b5dd2b92f8c52d9016b6f53fce6d8f2d89c24b19
Parents: f00bf7e
Author: Alex Harui <ah...@apache.org>
Authored: Wed Sep 7 15:29:16 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Sep 7 15:29:16 2016 -0700
----------------------------------------------------------------------
releasecandidate.xml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b5dd2b92/releasecandidate.xml
----------------------------------------------------------------------
diff --git a/releasecandidate.xml b/releasecandidate.xml
index 945d4d3..e54eecd 100644
--- a/releasecandidate.xml
+++ b/releasecandidate.xml
@@ -585,9 +585,14 @@ ${my.name}
</target>
<target name="release.tag" >
+ <condition property="tag" value="apache-flex-flexjs-${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-flexjs-${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" />