Skip to content

Trying to replicate the example in the Mainline Development documentation and versioning is not incrementing as expected; Am I missing something here? #2901

Answered by asbjornu
davidandersen asked this question in Q&A
Discussion options

You must be logged in to vote

It seems like you've configured all of your branches to use mode: ContinuousDelivery. To understand how Mainline works in GitVersion, I would recommend that you reduce your GitVersion.yml file to nothing but:

mode: Mainline

You may also consider fast-forward merging squashed commits of your feature branches into main instead of adding merge-commits. That is closer to how GitHub Flow (which is a type of Mainline flow) works.

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