Template
It suppresses the increment that a merged feature/hotfix branch contributes, freezing main's version on every merge.
21 lines
452 B
YAML
21 lines
452 B
YAML
workflow: TrunkBased/preview1
|
|
tag-prefix: '[vV]?'
|
|
ignore:
|
|
paths:
|
|
- ^(?!src\/|Directory\.Packages\.props|GitVersion.yml).*
|
|
branches:
|
|
release:
|
|
mode: ContinuousDeployment
|
|
label: ''
|
|
increment: Patch
|
|
regex: ^releases?[\/-](?<BranchName>.+)
|
|
source-branches:
|
|
- main
|
|
is-release-branch: true
|
|
is-main-branch: true
|
|
pre-release-weight: 55000
|
|
|
|
prevent-increment:
|
|
of-merged-branch: true
|
|
when-current-commit-tagged: true
|