ci: Adjust gitversion for mainline

This commit is contained in:
Jerome Laban 2022-03-21 07:52:02 -04:00
Родитель 54d58b351e
Коммит 761d799f9f
1 изменённых файлов: 10 добавлений и 2 удалений

Просмотреть файл

@ -1,6 +1,10 @@
assembly-versioning-scheme: MajorMinorPatch
mode: Mainline
next-version: 3.0.0
# 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
branches:
master:
@ -35,7 +39,7 @@ branches:
mode: ContinuousDeployment
regex: ^dev/.*?/(.*?)
tag: dev.{BranchName}
source-branches: ['master', 'release', 'projects', 'feature']
source-branches: ['master', 'stable', 'projects', 'feature']
increment: none
projects:
@ -50,5 +54,9 @@ branches:
source-branches: ['master']
increment: none
release:
# disable default release branch
regex: ignore
ignore:
sha: []