-
|
Hi, I would like your help with a configuration that even though simple, I cannot get it to work.
I removed any other configurations for hotfix and other non-default properties and regular expressions to keep it simple, but still the strategy followed is the increment value of the main branch which is "Patch" instead of the "Minor" which is of the merged branch This is my GitVersion.yml dotnet-gitversion output on the main branch before merging the %dotnet-version dotnet-gitversion of the feature branch Merging a branch dotnet-gitversion with diagnostic output on the main branch after merging the And the commits from the git log are the following: % git log --merges --oneline Please help, I am desperate, I have spent hours and even spoken with LLMs to get a clue as to what might be the problem. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
This is a big issue for me as well. I would really appreciate a solution to this workflow. |
Beta Was this translation helpful? Give feedback.
-
|
Please define the workflow property explicitly. Because of backwards compatibility the
Happy Branching! Edit: I didn't see that you have change the regex. Does it work with the native configuration? |
Beta Was this translation helpful? Give feedback.
Please define the workflow property explicitly. Because of backwards compatibility the
GitFlow/v1workflow will be used as default. This will be changed in the future and marked as mandatory. See the built-in configuration for the GitFlow workflow at https://gitversion.net/docs/reference/configuration.Anyway, yourtest-branchis not a feature branch but treated as unknown which has the increment set to inherit.Happy Branching!
Edit: I didn't see that you have change the regex. Does it work with the native configuration?