Skip to content

Applying a hotfix to develop in GitVersion 6 #4501

Answered by HHobeck
dry-lenses asked this question in Q&A
Discussion options

You must be logged in to vote

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):

track-merge-message
This property is a branch related property and gives the user the possibility to control the behavior of whether the merge commit message will be interpreted as a next version or not. Consider we have a ma…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dry-lenses
Comment options

@HHobeck
Comment options

@HHobeck
Comment options

Answer selected by HHobeck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants