Feature #2292 2006-06-15 08:42

jewe

auto increment build number

Hi,

auto increment build number would be nice. I some times forget to update the number. :)

kind regards,

Jewe

Category
Build System
Status
Closed
Close date
2006-07-06 08:55
Assigned to
 
thomasdenk 2006-06-16 16:21

Have you considered using a revision control keyword?

This will put the actual source revision number into your program, which is probably exactly what you want, rather than a number that increments with every build (regardless of changes).

Also, the revision control system will make sure that this number is always accurate.

jewe 2006-06-23 10:36

What you are suggesting is what I want. Can you point me to the wiki page regarding this point?

Cheers,

Jewe

thomasdenk 2006-06-23 11:14

Keywords in Subversion (CVS has a similar feature) explained: http://svnbook.red-bean.com/en/1.1/ch07s02.html#svn-ch-7-sect-2.3.4

Another possibility when using a revision control system is to simply query the current revision using the revision control tool. This, too, is supported by every revision control system and can be automated during the build process by using a batch file or a pre-build step, or from within a makefile.

thomasdenk 2006-07-06 08:55

I boldly assume that this request can be closed then :)