Mainline Merge from Hotfix to main does not increment version with custom merge commit message #3649
-
Describe the bug The main branch stays at 1.0.0, when merging the hotfix branch with a merge custom message via
When merging without a custom message the version increments to 1.0.1 on main: I did observe the issue because GITEA merges the PR with following message:
Expected BehaviorThe version at main increments regardless of a message merge message Actual BehaviorThe version at main does not increment when mergen with a custom merge message Steps to ReproduceClone https://github.com/sharpSteff/gitversion_bug
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I'm going to move this issue to the QA section because it seems to me not a bug. |
Beta Was this translation helpful? Give feedback.
-
Hi there. ;)
If you think about it: This expecation is unrealstic. How would you determine the information where the merge comes from without putting it in the commit message? If you have custom merge message format you need to specify it in
|
Beta Was this translation helpful? Give feedback.
-
For onyone using gitea with gitversion: this is my merge-message-formats:
|
Beta Was this translation helpful? Give feedback.
Hi there. ;)
If you think about it: This expecation is unrealstic. How would you determine the information where the merge comes from without putting it in the commit message?
If you have custom merge message format you need to specify it in
GitVersion.yml
configuration. The documentation says: