Reputation: 8815
what's your strategy to increase build number?
Upvotes: 3
Views: 591
Reputation: 49984
Like everyone says, increment the build number for every build. We set the major/minor numbers by hand when we do a branch, a branch is usually done a few weeks before release, then that branch gets regression tested. Builds done on the branch still get incremented though.
Upvotes: 0
Reputation: 54734
We have a build number that's incremented on every build (formal or otherwise). We use a CruiseControl.NET labeller for this.
We have a version number that's incremented by hand only on formal releases, and we define that centrally in one of the CC.NET scripts, which are held in source control.
Upvotes: 0
Reputation: 170489
It's quite reasonable to increase the build number for just every build. This way testers can tell more exactly which build they find a bug in and when it is verified to be fixed.
Upvotes: 0
Reputation: 14432
Every checkin should be tagged a version, use the subversion current version as the part of the build exe version.
Upvotes: 0
Reputation: 83254
MajorVersion.MinorVersion.BuildNumber.Revision
", usually I keep the Revision Number
to be 0. Only the first 3 numbers are changed.BuildNumber
will be incremented automatically. I will manually increase majorversion
and minorversion
if the changes are sufficiently big. Upvotes: 1
Reputation: 13236
Most software has a hierarchy of version numbers:
Upvotes: 5