Skip to content

Commit 9e5e4b7

Browse files
committed
Fix build version tag bug; update release to 1.4
- The build.xml file was incorrectly producing a release version tag with a "^0" suffix. Now corrected. - Update version to 1.4 in release.properties file.
1 parent 3d0223c commit 9e5e4b7

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

build.xml

+9-1
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,18 @@
6666
<condition property="git.dirty" value="true" else="false">
6767
<length string="${git.status}" when="greater" length="0"/>
6868
</condition>
69-
<exec dir="${basedir}" executable="git" outputproperty="git.tag">
69+
<exec dir="${basedir}" executable="git">
7070
<arg value="name-rev"/>
7171
<arg value="--tags"/>
7272
<arg value="HEAD"/>
73+
<redirector outputproperty="git.tag">
74+
<outputfilterchain>
75+
<linecontainsregexp>
76+
<regexp pattern="\^0$"/>
77+
</linecontainsregexp>
78+
<replaceregex pattern="\^0$" replace="" flags=""/>
79+
</outputfilterchain>
80+
</redirector>
7381
</exec>
7482
<exec dir="${basedir}" executable="git" outputproperty="git.hash">
7583
<arg value="show-ref"/>

release.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
release.version=1.03
1+
release.version=1.4

0 commit comments

Comments
 (0)