-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGitVersion.yml
More file actions
35 lines (31 loc) · 1.04 KB
/
GitVersion.yml
File metadata and controls
35 lines (31 loc) · 1.04 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
mode: Mainline
branches:
main:
regex: ^main$
increment: Inherit
prevent-increment-of-merged-branch-version: true
track-merge-target: false
source-branches: []
feature:
regex: ^features?[/-]
increment: Minor
prevent-increment-of-merged-branch-version: false
pull-request:
regex: ^(pull|pull\-requests|pr)[/-]
increment: Inherit
prevent-increment-of-merged-branch-version: true
tag-number-pattern: '[/-](?<number>\d+)'
hotfix:
regex: ^hotfix(es)?[/-]
increment: Patch
release:
regex: ^releases?[/-]
increment: None
ignore:
sha: []
merge-message-formats: {}
major-version-bump-message: "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\(.+\\))?(!:|:.*\\n\\n((.+\\n)+\\n)?BREAKING CHANGE:\\s.+)"
minor-version-bump-message: "^(feat)(\\(.+\\))?:"
patch-version-bump-message: "^(build|chore|ci|docs|fix|perf|refactor|revert|style|test)(\\(.+\\))?:"
no-bump-message: "^(?!build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)"
commit-message-incrementing: Enabled