Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 3fe2e86a7384c8235707985ad293c2c8bfcb881d 1 parent 7184bd3
@adriaanm adriaanm authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 build.xml
View
4 build.xml
@@ -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"/>
Please sign in to comment.
Something went wrong with that request. Please try again.