-
I try to configure GitVersion to follow the GitFlow strategy with as little human versioning as possible. According to the GitVersion documentation, the hotfix branches should be named with the desired version for the main branch after merge (e.g. if main is on "1.2.0", the hotfix branch should be named "hotfix/12.1"). However, I was wondering if it is somehow possible to configure GitVersion such that all hotfix merges increase the patch part of the main branch version. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
At this moment it is only supported in Mainline mode (in 5.x and 6-beta.3) with dedicated merge commit messages (in azure devops the source branch is missing and not working out of the box). In the 6-beta.4 version the Mainline mode will be properly replaced with a TrunkBased version strategy. Please see also:
Happy Branching! |
Beta Was this translation helpful? Give feedback.
At this moment it is only supported in Mainline mode (in 5.x and 6-beta.3) with dedicated merge commit messages (in azure devops the source branch is missing and not working out of the box). In the 6-beta.4 version the Mainline mode will be properly replaced with a TrunkBased version strategy.
GitVersion/src/GitVersion.Core.Tests/IntegrationTests/MainlineDevelopmentMode.cs
Line 415 in 0ff62cc
Please see also:
Happy Branching!