-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGitVersion.yml
More file actions
47 lines (41 loc) · 1.1 KB
/
GitVersion.yml
File metadata and controls
47 lines (41 loc) · 1.1 KB
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
workflow: GitFlow/v1
mode: ContinuousDeployment
next-version: 1.3.0
branches:
main:
label: ''
increment: Patch
regex: ^master$|^main$
is-main-branch: true
develop:
label: preview
increment: Minor
regex: ^dev(elop)?(ment)?$
source-branches: [main]
tracks-release-branches: true
release:
mode: ContinuousDeployment
label: rc
increment: Minor
regex: ^releases?[/-](?<BranchName>.+)
source-branches: [main, develop, support]
is-release-branch: true
hotfix:
mode: ContinuousDeployment
label: hf
increment: Inherit
regex: ^hotfix(es)?[/-](?<BranchName>.+)
source-branches: [main, support]
is-release-branch: true
feature:
mode: ContinuousDeployment
label: '{BranchName}'
increment: Inherit
regex: ^features?[/-](?<BranchName>.+)
source-branches: [develop, main, release, support, hotfix]
pull-request:
mode: ContinuousDelivery
label: PullRequest{Number}
increment: Inherit
regex: ^(pull-requests|pull|pr)[/-](?<Number>\d*)
source-branches: [develop, main, release, feature, support, hotfix]