Build numbers: major.minor.revision

后端 未结 7 1995
一向
一向 2020-12-22 17:47

How would you write a build.xml file, using neither custom code nor external dependencies (such as a shell script), that:

  • Generates a build number
7条回答
  •  伪装坚强ぢ
    2020-12-22 18:05

    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.

    
    

提交回复
热议问题