Permalink
Browse files

assume build.release when maven.version.suffix is set

  • Loading branch information...
adriaanm committed Apr 5, 2013
1 parent 7184bd3 commit 3fe2e86a7384c8235707985ad293c2c8bfcb881d
Showing with 4 additions and 0 deletions.
  1. +4 −0 build.xml
View
@@ -261,6 +261,10 @@ TODO:
<property name="maven.version.suffix" value="${version.suffix}"/>
<property name="osgi.version.suffix" value="${version.suffix}"/></else></if>
+ <!-- if a maven version suffix was set (or inferred), assume we're building a release -->
+ <if><isset property="maven.version.suffix"/><then>
+ <property name="build.release" value="1"/></then></if>
+
<!-- not building a release and no version.suffix specified -->
<property name="maven.version.suffix" value="-SNAPSHOT"/>

0 comments on commit 3fe2e86

Please sign in to comment.