2019-02-25 07:22:42 +03:00
|
|
|
assembly-versioning-scheme: MajorMinorPatch
|
2022-04-12 20:23:54 +03:00
|
|
|
mode: Mainline
|
|
|
|
|
|
|
|
# Don't use next-version with Mainline (changed since 5.3), otherwise the stable
|
|
|
|
# branch will not count on commits, only on tags.
|
|
|
|
# See https://github.com/GitTools/GitVersion/issues/2461#issuecomment-733658087
|
|
|
|
# next-version: 4.0
|
|
|
|
|
2019-02-25 07:22:42 +03:00
|
|
|
branches:
|
2022-04-12 20:23:54 +03:00
|
|
|
main:
|
|
|
|
mode: ContinuousDeployment
|
|
|
|
regex: main
|
2019-02-25 07:22:42 +03:00
|
|
|
tag: dev
|
2022-04-12 20:23:54 +03:00
|
|
|
increment: Minor
|
|
|
|
is-source-branch-for: ['beta', 'stable']
|
|
|
|
|
|
|
|
pull-request:
|
|
|
|
regex: ^(pull|pull\-requests|pr)[/-]
|
|
|
|
mode: ContinuousDeployment
|
|
|
|
tag: 'PullRequest'
|
|
|
|
tag-number-pattern: '[/-](?<number>\d+)[-/]'
|
|
|
|
increment: Inherit
|
|
|
|
|
|
|
|
beta:
|
|
|
|
mode: ContinuousDeployment
|
|
|
|
regex: ^release/beta/.*
|
|
|
|
tag: beta
|
|
|
|
increment: none
|
|
|
|
source-branches: ['main']
|
|
|
|
|
2019-02-25 16:18:07 +03:00
|
|
|
stable:
|
2022-04-12 20:23:54 +03:00
|
|
|
regex: ^release/stable/.*
|
|
|
|
tag: ''
|
|
|
|
increment: Patch
|
|
|
|
source-branches: ['main','beta']
|
|
|
|
is-mainline: true
|
|
|
|
|
2019-02-25 16:18:07 +03:00
|
|
|
dev:
|
2022-04-12 20:23:54 +03:00
|
|
|
mode: ContinuousDeployment
|
|
|
|
regex: ^dev/.*?/(.*?)
|
2019-02-25 07:22:42 +03:00
|
|
|
tag: dev.{BranchName}
|
2022-04-12 20:23:54 +03:00
|
|
|
source-branches: ['main', 'stable', 'projects', 'feature']
|
|
|
|
increment: none
|
|
|
|
|
2019-02-25 16:18:07 +03:00
|
|
|
projects:
|
2019-02-25 07:22:42 +03:00
|
|
|
tag: proj-{BranchName}
|
2022-04-12 20:23:54 +03:00
|
|
|
regex: ^projects/(.*?)
|
|
|
|
source-branches: ['main']
|
|
|
|
increment: none
|
|
|
|
|
|
|
|
feature:
|
|
|
|
tag: feature.{BranchName}
|
|
|
|
regex: ^feature/(.*?)
|
|
|
|
source-branches: ['main']
|
|
|
|
increment: none
|
|
|
|
|
|
|
|
release:
|
|
|
|
# disable default release branch
|
|
|
|
regex: ignore
|
|
|
|
|
2019-02-25 07:22:42 +03:00
|
|
|
ignore:
|
2019-02-25 16:18:07 +03:00
|
|
|
sha: []
|