Gitversion bases the version on the branch name #3839
-
Hi everyone, Gitversion is basing the version on the name of my release branch... For example: My release branch is called release/Sprint-2023-18-v1.7.7 and Gitversion is creating a version with the Major "2023", for because of the name of my release branch. My question is, is there any way that Gitversion does not use my branch name? My GitVersion.yml: assembly-versioning-scheme: MajorMinorPatchTag I would be very grateful if someone could help me. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In the breaking changes notes you will find the following:
The default regular expression for version in branch pattern is This configuration has been introduces in release 6.0.0-beta.2: Happy Branching. |
Beta Was this translation helpful? Give feedback.
In the breaking changes notes you will find the following:
The default regular expression for version in branch pattern is
(?<version>[vV]?\d+(\.\d+)?(\.\d+)?).*
This configuration has been introduces in release 6.0.0-beta.2:
Happy Branching.