We are starting to create releases based off actual release branches. The desire is to name them after the sprint they are finished in. 24.01 for example. Using that in the branch name causes GitVersion to use it as a version number as documented here:
https://gitversion.net/docs/reference/version-increments
I'd simply like a way to disable that feature.
Context
Adding some alpha prefix works great, unless you or someone else on your team forgets. It would just be nice to have that feature as optional.
Possible Implementation
Add an option to the config file:
merge-message-formats: {}
branches:
release:
regex: ^(releases?|releases?[/-])
mode: ContinuousDelivery
tag: ''
increment: Patch
prevent-increment-of-version-based-on-name: true