How would you write a build.xml
file, using neither custom code nor external dependencies (such as a shell script), that:
In my project i don’t increase the minor and major number automatically. We set it from our global build properties. Like that:
That’s because they will be changed for releases (not for test or other builds) and committed together with other sources (we have be able to build some old or branch version).
But if you want to increase the minor number, you can do it like the build number in my example.