Skip to content

Main branch is not detected as main branch and produces pre-release versions #4218

Closed Answered by HHobeck
dp-sgr asked this question in Q&A
Discussion options

You must be logged in to vote

Please create only an issue if you know you have one. Also before posting it would be very decent to read the documentation at https://gitversion.net/.

Continuous Deployment

Continuous Deployment is the process of checking into main and automatically deploying to production.

For this mode we follow the logic in this blog post by Xavier Decoster on the issues of incrementing automatically.

How Continuous Deployment affects GitVersion
The thing about continuous deployment is that there will be only one version to deploy on production. This means that GitVersion will build the same semantic version for every commit until it has been tagged. For instance:

1.2.0
1.1.0 (tag: 1.1.0) <-- This is…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by HHobeck
Comment options

You must be logged in to vote
1 reply
@HHobeck
Comment options

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
Converted from issue

This discussion was converted from issue #4216 on September 20, 2024 07:02.