Applying a hotfix to develop in GitVersion 6 #4501
-
Hey, another one from me - I wanted to ask what is the recommended way with GitVersion 6 and standard GitFlow configuration to apply a change from a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Can you give a concrete example? The reason why the pre-release version number will be reset is because of an tag and a main version release. |
Beta Was this translation helpful? Give feedback.
If you merge a hotfix or release branch the version number (in the branch name) will be used in the
MergeMessageVersionStrategy
class to determine the next version number. This merge commit will be used as the base version source which means a reset of the pre-release number might be possible and correct.Edit: The behavior can be controlled on branch configuration layer with the
track-merge-message
property (see https://gitversion.net/docs/reference/configuration):