Best Practice: Software Versioning [closed]

You should start with version 1, unless you know that the first version you “release” is incomplete in some way.

As to how you increment the versions, that’s up to you, but use the major, minor, build numbering as a guide.

It’s not necessary to have every version you commit to source control as another version – you’ll soon have a very large version number indeed. You only need to increment the version number (in some way) when you release a new version to the outside world.

So If you make a major change move from version 1.0.0.0 to version 2.0.0.0 (you changed from WinForms to WPF for example). If you make a smaller change move from 1.0.0.0 to 1.1.0.0 (you added support for png files). If you make a minor change then go from 1.0.0.0 to 1.0.1.0 (you fixed some bugs).

If you really want to get detailed use the final number as the build number which would increment for every checkin/commit (but I think that’s going too far).

Leave a Comment