Reset Version Counter

Hi,
is there in ContinuaCI a way how I can reset the version counter by a build event from a configuration.
My “Version Format String” looks like “%Project.Produktversion_Major%.%Project.Produktversion_Minor%.%Project.Produktversion_Revision%.$Build.BuildNumber$”. I’ve created some buildevents which increments or resets and persists my major, minor and revision variables. But i could not find a possibility to reset the $Build.BuildNumber$.

Is there a way or is the only way to do this to change $Build.BuildNumber$ to a project-variable and to manage increment and reset by buildevents?

Hi Rynardald,

You cannot update the BuildNumber counter. You will need to do this using a separate configuration or project variable, using the Persist Build Variable build event handler to store any changes you make in the build stages