Skip to content

Commit tag version differentation between release and non-release branch #2707

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

You must be logged in to vote

What you describe sounds like the default behaviour for main, which by default is configured as such:

  main:
    regex: ^master$|^main$
    mode: ContinuousDelivery
    tag: ''
    increment: Patch
    prevent-increment-of-merged-branch-version: true
    track-merge-target: false
    tracks-release-branches: false
    is-release-branch: false

Have you tried just replacing regex and tag in this configuration with your branch names? Also, is there a good reason not to use main as your stable branch?

Replies: 2 comments

Comment options

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