-
Notifications
You must be signed in to change notification settings - Fork 3
/
GitVersion.yml
49 lines (49 loc) · 1.52 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
41
42
43
44
45
46
47
48
49
branches:
master:
regex: ^(v[0-9]+\/)?ma(ster|in)$
release-alpha:
regex: ^(v[0-9]+\/)releases?[/-](.*)-alpha$
mode: ContinuousDeployment
tag: alpha
increment: Patch
prevent-increment-of-merged-branch-version: true
track-merge-target: false
tracks-release-branches: false
is-release-branch: true
pre-release-weight: 1000
source-branches: ['main', 'develop', 'feature', 'hotfix']
release-beta:
regex: ^(v[0-9]+\/)?releases?[/-].*-beta$
mode: ContinuousDeployment
tag: beta
increment: Patch
prevent-increment-of-merged-branch-version: true
track-merge-target: false
tracks-release-branches: false
is-release-branch: true
pre-release-weight: 2000
source-branches: ['main', 'develop', 'feature', 'hotfix', 'release-alpha']
release:
regex: ^(v[0-9]+\/)?releases?[/-].*(?<!-(alpha|beta))$
mode: ContinuousDeployment
tag: rc
commit-message-incrementing: Disabled
pre-release-weight: 3000
source-branches: ['main', 'develop', 'feature', 'hotfix', 'release-alpha', 'release-beta']
feature:
regex: ^(v[0-9]+\/)?features?[/-]
mode: ContinuousDeployment
tag: alpha-{BranchName}
pull-request:
regex: ^(v[0-9]+\/)?(pull|pull\-requests|pr|patch)[/-]
mode: ContinuousDeployment
hotfix:
regex: ^(v[0-9]+\/)?hotfix(es)?[/-]
mode: ContinuousDeployment
support:
regex: ^(v[0-9]+\/)?support[/-]
mode: ContinuousDeployment
tag: 'support'
increment: 'None'
develop:
regex: ^(v[0-9]+\/)?dev(elop)?(ment)?$