Did you ever find a good solution for this? I am wanting to do the same 
thing.

On Monday, June 2, 2008 1:46:14 AM UTC-6, axl wrote: 

> I've moved versioning completely to CCNet, after getting tired of 
> having the build process pollute my log with "build incremented 
> version number" chekins. So right now I've got a default labeller for 
> each project, which contains the first three figures of the version I 
> want to apply to the build. 
>
> So my prefix may be "1.4.0" and CCNet adds the sequential build number 
> giving "1.4.0.X". 
>
> The with way we have structured our projects, at some point in time 
> 1.4.0 becomes ready for release and development begins on 1.5.0 (or 
> whatever), and at that time we branch 1.4.0 to a release branch. 
> Copying state to the new build project isn't very tricky, any bug- 
> fixes on that branch will just keep incrementing whatever build label 
> was last used on our "main" line. 
>
> However, we now want "MAIN" to represent our new 1.5.0 version, so I 
> change the prefix in ccnet.config to "1.5.0", but there's no way to 
> change the label without making "last label" look weird until the next 
> build has completed. I suppose that's not the end of the world, but 
> it'd be interesting to hear how other teams handle this. In my mind 
> it'd be nice to be able to "reset build number on next build", or 
> "reset build number on prefix change". Any thoughts? 
>
> Cheers, 
> /axl

Reply via email to