-
-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy pathGitVersion.yml
More file actions
38 lines (38 loc) · 1.11 KB
/
GitVersion.yml
File metadata and controls
38 lines (38 loc) · 1.11 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
# GitVersion configuration file
# This file is used by the GitVersion GitHub Action in the CI pipeline
mode: Mainline
major-version-bump-message: '\+semver:\s?(breaking|major)'
minor-version-bump-message: '\+semver:\s?(feature|minor)'
patch-version-bump-message: '\+semver:\s?(fix|patch)'
no-bump-message: '\+semver:\s?(none|skip)'
assembly-versioning-scheme: MajorMinorPatch
assembly-file-versioning-scheme: MajorMinorPatchTag
tag-prefix: '' # Tags should only be the actual Semver version, no 'v' prefix
continuous-delivery-fallback-tag: 'ci'
commit-message-incrementing: Enabled
branches:
master:
regex: ^master$|^main$
tag: ''
increment: Minor
prevent-increment-of-merged-branch-version: true
track-merge-target: false
feature:
regex: ^features?[/-]
tag: 'beta'
increment: Inherit
pull-request:
regex: ^(pull|pull\-requests|pr)[/-]
tag: 'pr'
increment: Inherit
hotfix:
regex: ^hotfix[/-]
tag: 'beta'
increment: Patch
develop:
regex: ^dev(elop)?(ment)?$
tag: 'alpha'
increment: Minor
prevent-increment-of-merged-branch-version: false
ignore:
sha: []