Reset Build Counter Action

Currently you can reset the build number counter easily through stage details.

Would be nice to have that as action, so you would be able to start at 0 again, if any other part of the version number is changing.

e.g in trunk, we increase the version number when having schema changes to the database, for sure this will be a "new version" but its trunk and a nightly build of trunk should reflect that by robust version pattern like:

Major.Minor.Schema.Counter

So before the change, the 67th build of the current branch might have version number:

1.2.3.67 (where 67 is the counter variable from CI)

changing something in the branch that is causing the version number to change 

1.2.4.68 (build number (.NET version pattern) changed from 3 to 4), the 68 for revision part would be wrong because it should be

1.2.4.0 

so having a way to set the build counter using an action, this could be fixed.

What do you think about that (well, its already there but manually).


Yes, something like that is on our todo list. The idea is to have a bunch of different version schemes.

FWIW, I believe people over think versions somewhat, I prefer to keep it simple, I generally never reset the .net revision (or win32 build), ie the last part of the version number until the major version changes… there’s no need, the highest number is the latest build for that major version.

well, you cannot change a system that is shipped for over 10 years now. it works as it works i general, you are right. everything should be as simple as possbile.

Fair enough. Hopefully it won’t be too long before we get to that feature work.