GitVersion icon indicating copy to clipboard operation
GitVersion copied to clipboard

Cannot exclude a prefix from the merge message when determining the next version

Open cosminpopescu opened this issue 9 years ago • 1 comments

Cannot exclude a prefix from the merge message when determining the next version.

Example: I have next-version: 18.1.0. The version is retrieved from the merge message "Merge message 'Merge branch 'release/v2017.1'".

Because 2017 is bigger than 18, then the next version is determined as '2017' instead of '18'. I want an option to trim 'v20' from the merge message so it will determine the next version as 18?

cosminpopescu avatar Nov 29 '17 14:11 cosminpopescu

I was wrong, this actually works by tag-prefix: v20 in the yml. Closing.

cosminpopescu avatar Jan 10 '18 08:01 cosminpopescu