| @@ -228,5 +228,22 @@ Concatenation of strings :</p> | |||||
| <p>Each time called, a "." will be appended to "progress" | <p>Each time called, a "." will be appended to "progress" | ||||
| </p> | </p> | ||||
| <p>Pumps the project version to the next minor version (increase minor and set path=0): | |||||
| <blockquote><pre><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> | |||||
| </pre></blockquote> | |||||
| After running this target the version changed e.g. from 3.2.2 to 3.3.0. | |||||
| </p> | |||||
| </body> | </body> | ||||
| </html> | </html> | ||||