Skip to content

Commit

Permalink
Fix version retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed May 26, 2019
1 parent 24f900a commit a4cf3e4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@
</macrodef>

<!-- Version -->
<condition property="app.version" value="${env.TRAVIS_TAG}"><isset property="env.TRAVIS_TAG"/></condition>
<condition property="app.version" value="${env.TRAVIS_TAG}">
<and>
<isset property="env.TRAVIS_TAG"/>
<not><equals arg1="${env.TRAVIS_TAG}" arg2=""/></not>
</and>
</condition>
<condition property="app.version" value="1.0.0"><not><isset property="app.version"/></not></condition>

<!-- Build number -->
Expand Down

0 comments on commit a4cf3e4

Please sign in to comment.