MSBump icon indicating copy to clipboard operation
MSBump copied to clipboard

Bump Patch on Label

Open Grompot77 opened this issue 6 years ago • 0 comments

Thanks for your version, it is pretty helpful, one thing I have notice is when you do a release build, eg 2.1.0, it is fine, when switching to lets say Debug with a label, it then goes 2.1.0-dev0001, the normal pattern is that the new prerelease should be for 2.1.1-dev0001, as a pre-cursor to 2.1.1 final release. I have added the change to a fork. The only trick is if specifying BumpLabelPatch on Debug, then you don't need to specify BumpPatch on Release. It is maybe a bit dirty, please have a look and maybe incorporate it in your next build. Here is the config I landed up with, { "Configurations": { "Debug": { "BumpLabel": "dev", "BumpLabelPatch": true, "LabelDigits": 4 }, "Release": { //"BumpPatch": true, "ResetLabel": "dev" } } } Here is the versioning view from a nuget local source image

Grompot77 avatar Jan 26 '19 02:01 Grompot77