-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathGitVersion.yml
30 lines (30 loc) · 870 Bytes
/
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
#workflow: TrunkBased/preview1
assembly-versioning-scheme: MajorMinorPatch
mode: ContinuousDelivery
tag-prefix: '[vV]'
major-version-bump-message: "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\([\\w\\s-,/\\\\]*\\))?(!:|:.*\\n\\n((.+\\n)+\\n)?BREAKING CHANGE:\\s.+)"
minor-version-bump-message: "^(feat)(\\([\\w\\s-,/\\\\]*\\))?:"
patch-version-bump-message: "^(fix|perf)(\\([\\w\\s-,/\\\\]*\\))?:"
no-bump-message: \[skip ci\]
semantic-version-format: Strict
strategies:
- Fallback
- ConfiguredNextVersion
- MergeMessage
- TaggedCommit
# - TrackReleaseBranches
# - VersionInBranchName
branches:
main:
regex: ^main$
label: 'ci'
pull-request:
mode: ContinuousDelivery
regex: ^(pull|pull\-requests|pr)[/-]
label: pr
increment: Patch
unknown:
mode: ContinuousDelivery
increment: Patch
ignore:
sha: []