diff --git a/manual/Tasks/propertyfile.html b/manual/Tasks/propertyfile.html index 7450c0a4b..e4030f89d 100644 --- a/manual/Tasks/propertyfile.html +++ b/manual/Tasks/propertyfile.html @@ -228,5 +228,22 @@ Concatenation of strings :

Each time called, a "." will be appended to "progress"

+

Pumps the project version to the next minor version (increase minor and set path=0): +

<target name="nextMinorVersion">
+   <property
+     name="header"
+     value="##Generated file - do not modify!"/>
+   <propertyfile file="version.properties" comment="${header}">
+     <entry key="product.build.major"   type="int"  value="3" />
+     <entry key="product.build.minor"   type="int"  operation="+" />
+     <entry key="product.build.patch"   type="int"  value="0" />
+     <entry key="product.build.date"    type="date" value="now" />
+  </propertyfile>
+</target>
+
+After running this target the version changed e.g. from 3.2.2 to 3.3.0. +

+ +