Skip to content

I'm having issues with the message version bump. #3933

Answered by HHobeck
tymesink asked this question in Q&A
Discussion options

You must be logged in to vote

The bump message feature like it is implemented in the actual version of git-version is there to bump the increment to a higher value for the calculation of the next version. If lets say the base version is 1.0.0 then the following matrix applies:

A commit without a bump message yields:

  • on branches with increment none to 1.0.0
  • on branches with increment patch to 1.0.1
  • on branches with increment minor to 1.1.0
  • on branches with increment major to 2.0.0

A commit with semver+: patch message yields

  • on branches with increment none to 1.0.1
  • on branches increment patch to 1.0.1
  • on branches increment minor to 1.1.0
  • on branches increment major to 2.0.0

A commit with semver+: minor message yields

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tymesink
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