build number formatting

Is there a way to format the build number so that I always have just 2 digits or 3.

if I do .0{0} for 2 digits, I will get 3 digits when my build number goes past 9.

I would like to have the build numbers go

01
02
03
04
05
06
07
08
09
10
11
12
etc, etc

I can handle this with an Nant script but this isnt the best appoach.

2 comments
Comment actions Permalink

does anybody have any suggestions?  Can Team city format the build number to be a certain length?

0
Comment actions Permalink

Unfortunately this is not possible to do without a plugin. Feel free to submit a feature request to our tracker: http://jetbrains.net/tracker/

0

Please sign in to leave a comment.