Wednesday, April 24, 2019

semantic versioning with four numbers

The spec for this wants you to have three numbers and not four. In Visual Studio 2019 Preview if you make a new C# code library project and look at its properties the "Package" tab will have a spot to punch in an "Assembly version:" with four segments. Instead of MAJOR.MINOR.PATCH we have herein MAJOR.MINOR.PATCH.BUILD wherein the fourth digit really only exists to make the version number differentiate when you want to kick off a new build and nothing more. The PATCH should only be for downwards compatible bug fixes and the MINOR version should increment when you check in new code for story work.

No comments:

Post a Comment