-
Notifications
You must be signed in to change notification settings - Fork 37
/
GitVersion.yml
40 lines (40 loc) · 1.2 KB
/
GitVersion.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
mode: Mainline
# assembly-version: If this number changes, other assemblies have to update references to the assembly
assembly-versioning-scheme: Major
assembly-file-versioning-scheme: MajorMinorPatch
ignore:
sha: []
branches:
main:
regex: ^master$|^main$
tag: ''
increment: Patch
prevent-increment-of-merged-branch-version: true
track-merge-target: false
tracks-release-branches: false
is-release-branch: true
pull-request:
regex: ^(pull|pull\-requests|pr)[/-]
tag: pr
increment: Inherit
prevent-increment-of-merged-branch-version: false
tag-number-pattern: '[/-](?<number>\d+)[-/]'
track-merge-target: false
tracks-release-branches: false
is-release-branch: false
hotfix:
regex: ^hotfix(es)?[/-]
tag: beta
increment: Patch
prevent-increment-of-merged-branch-version: false
track-merge-target: false
tracks-release-branches: false
is-release-branch: false
feature:
regex: ^(personal|dev|feature|dependabot|auto\-nuget\-update)[/-]
tag: useBranchName
increment: Patch
prevent-increment-of-merged-branch-version: false
track-merge-target: false
tracks-release-branches: false
is-release-branch: false