Skip to content

Trunk Based development #3360

Answered by Echarnus
Echarnus asked this question in Q&A
Feb 3, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

My config for the moment, but after adding a feature my patch is just increased.

mode: Mainline
branches:
  main:
    regex: ^main$|^master$
    increment: Inherit
    is-mainline: true
  develop:
  # Match nothing - Unused
    regex: ^\b$
  release:
    regex: ^release?[/-]
    increment: None
  feature:
    regex: ^feature[/-]
    tag: useBranchName
    increment: Minor
    is-source-branch-for: [ 'main' ]
  pull-request:
    # Match nothing - Unused
    regex: ^\b$
  hotfix:
    regex: ^fix[/-]
    tag: useBranchName
    increment: Patch
    is-source-branch-for: [ 'main', 'release' ]
  support:
    # Match nothing - Unused
    regex: ^\b$
ignore:
  sha: []
merge-message-formats: {}

Replies: 1 comment 1 reply

Comment options

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

Answer selected by Echarnus
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