2018-05-24 21:53:31 +03:00
|
|
|
assembly-versioning-scheme: MajorMinorPatch
|
2019-11-25 21:44:10 +03:00
|
|
|
mode: Mainline
|
2021-02-12 06:19:03 +03:00
|
|
|
|
|
|
|
# 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
|
2021-10-26 17:21:01 +03:00
|
|
|
# next-version: 4.0
|
2019-07-30 21:21:47 +03:00
|
|
|
|
2018-05-24 21:53:31 +03:00
|
|
|
branches:
|
|
|
|
master:
|
2019-11-25 21:44:10 +03:00
|
|
|
mode: ContinuousDeployment
|
2019-03-29 15:55:59 +03:00
|
|
|
regex: master
|
2019-07-29 18:37:52 +03:00
|
|
|
tag: dev
|
2019-11-25 21:44:10 +03:00
|
|
|
increment: Minor
|
2019-11-27 22:43:23 +03:00
|
|
|
is-source-branch-for: ['beta', 'stable']
|
2019-11-25 21:44:10 +03:00
|
|
|
|
|
|
|
pull-request:
|
|
|
|
regex: ^(pull|pull\-requests|pr)[/-]
|
|
|
|
mode: ContinuousDeployment
|
2020-01-28 20:36:34 +03:00
|
|
|
tag: 'PullRequest'
|
|
|
|
tag-number-pattern: '[/-](?<number>\d+)[-/]'
|
2020-03-04 22:41:40 +03:00
|
|
|
increment: Inherit
|
2019-11-27 22:43:23 +03:00
|
|
|
|
|
|
|
beta:
|
|
|
|
mode: ContinuousDeployment
|
|
|
|
regex: ^release/beta/.*
|
|
|
|
tag: beta
|
|
|
|
increment: none
|
|
|
|
source-branches: ['master']
|
2019-11-25 21:44:10 +03:00
|
|
|
|
2019-02-08 21:53:34 +03:00
|
|
|
stable:
|
2019-11-27 22:43:23 +03:00
|
|
|
regex: ^release/stable/.*
|
2019-07-24 01:06:39 +03:00
|
|
|
tag: ''
|
2019-11-25 21:44:10 +03:00
|
|
|
increment: Patch
|
2019-11-27 22:43:23 +03:00
|
|
|
source-branches: ['master','beta']
|
2019-11-25 21:44:10 +03:00
|
|
|
is-mainline: true
|
|
|
|
|
2019-02-08 21:53:34 +03:00
|
|
|
dev:
|
2019-11-25 21:44:10 +03:00
|
|
|
mode: ContinuousDeployment
|
2019-11-27 22:43:23 +03:00
|
|
|
regex: ^dev/.*?/(.*?)
|
2019-03-29 15:55:59 +03:00
|
|
|
tag: dev.{BranchName}
|
2021-02-12 06:19:03 +03:00
|
|
|
source-branches: ['master', 'stable', 'projects', 'feature']
|
2019-11-27 22:43:23 +03:00
|
|
|
increment: none
|
2019-11-25 21:44:10 +03:00
|
|
|
|
2019-02-08 21:53:34 +03:00
|
|
|
projects:
|
2020-03-04 22:41:40 +03:00
|
|
|
tag: proj-{BranchName}
|
|
|
|
regex: ^projects/(.*?)
|
2019-02-08 21:53:34 +03:00
|
|
|
source-branches: ['master']
|
2019-11-27 22:43:23 +03:00
|
|
|
increment: none
|
2019-11-25 21:44:10 +03:00
|
|
|
|
2019-05-22 23:40:11 +03:00
|
|
|
feature:
|
2020-03-04 22:41:40 +03:00
|
|
|
tag: feature.{BranchName}
|
|
|
|
regex: ^feature/(.*?)
|
2019-05-22 23:40:11 +03:00
|
|
|
source-branches: ['master']
|
2019-11-27 22:43:23 +03:00
|
|
|
increment: none
|
2019-07-30 21:21:47 +03:00
|
|
|
|
2021-02-12 06:19:03 +03:00
|
|
|
release:
|
|
|
|
# disable default release branch
|
|
|
|
regex: ignore
|
|
|
|
|
2018-05-24 21:53:31 +03:00
|
|
|
ignore:
|
2018-08-28 20:57:30 +03:00
|
|
|
sha: []
|