Main branch version after merge not matching version from merged branch #3944
Replies: 3 comments 4 replies
-
I'm not sure which version you are using exactly but maybe this helps: branches:
main:
mode: Mainline
increment: None
feature:
mode: Mainline
increment: Minor
hotfix:
mode: Mainline
increment: Patch The Mainline mode is deprecated yes and will be replaced with the TrunkBased workflow in the next pre-release package in version 6.0.0-beta.6. The unit tests are commented out temporary and will be reactivated soon. Happy Branching! ;) |
Beta Was this translation helpful? Give feedback.
-
Yes you are right you need to specify it on the root level as well. On global level the value will be used as a fallback for the branches.
What do you mean with that!? Is it working? |
Beta Was this translation helpful? Give feedback.
-
The pre-release version workflow: TrunkBased/v1 |
Beta Was this translation helpful? Give feedback.
-
Hey there. I'm looking to implement the exact behaviour described in the unit test pictured in this comment with GitVersion 5.
I noticed the test class is entirely commented out nowadays. Has this behaviour been deprecated in some way?
Target behaviour:
Current behaviour - only the patch number is incremented:
I also tried tagging the
feature/new
branch with the1.1.0-feature-new.1
version but it would not change anything.Currently my GitVersion.yml seems to copy the configuration in the unit test well enough:
Am I missing anything?
Beta Was this translation helpful? Give feedback.
All reactions