Skip to content

Increment version (based on +semver: *) on every merge from feature/ to dev #3715

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

You must be logged in to vote

Hi there.

First of all I would like to ask you: Which version of git version are you using? From the workflow scenario it seems to me like your develop branch is your main and your main is a archive branch. When merging the version from develop to main you can use the following feature to detect the version automatically (in archive branch):

track-merge-target
Strategy which will look for tagged merge commits directly off the current branch. For example develop → release/1.0.0 → merge into master and tag 1.0.0. The tag is not on develop, but develop should be version 1.0.0 now.

See issue: #3052

Happy branching.

Replies: 1 comment

Comment options

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