generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGitVersion.yml
41 lines (41 loc) · 1.18 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
assembly-versioning-format: '{Major}.{Minor}.{Patch}'
assembly-file-versioning-format: '{Major}.{Minor}.{Patch}'
assembly-informational-format: '{Major}.{Minor}.{Patch}'
tag-prefix: v
commit-message-incrementing: Enabled
major-version-bump-message: '^(fix|feat|docs|style|refactor|test|chore|perf|build)\(GH-\d*\)!:(.*\W*)*'
minor-version-bump-message: '^(feat|docs|style|refactor|test|chore|perf|build)\(GH-\d*\):(.*\W*)*'
patch-version-bump-message: '^(fix)\(GH-\d*\):(.*\W*)*'
commit-date-format: 'o'
update-build-number: true
mode: ContinuousDeployment
strategies:
- MergeMessage
- TaggedCommit
branches:
main:
regex: ^main$
is-main-branch: true
prevent-increment:
when-branch-merged: false
of-merged-branch: false
feature:
regex: ^(feature|feat|fix|docs|style|refactor|test|chore)[/]
label: alpha
source-branches:
- main
- feature
pull-request:
regex: ^(pull|pull\-requests|pr)[/]
label: preview
source-branches:
- main
- feature
label-number-pattern: '[/-](?<number>\d+)[-/]'
ignore:
sha: []
merge-message-formats: {}
increment: Inherit
pre-release-weight: 60000
prevent-increment:
when-current-commit-tagged: true