-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGitVersion.yml
More file actions
70 lines (59 loc) · 1.61 KB
/
GitVersion.yml
File metadata and controls
70 lines (59 loc) · 1.61 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# GitVersion configuration for Continuous Delivery
# Compatible with GitVersion 6.3.x
mode: ContinuousDelivery
# Assembly versioning strategy
assembly-versioning-scheme: MajorMinorPatch
assembly-file-versioning-scheme: MajorMinorPatchTag
assembly-informational-format: '{InformationalVersion}'
# Version increment strategy
increment: Inherit
# Tag prefix for releases
tag-prefix: 'v'
# Major version bump triggers
major-version-bump-message: '\+semver:\s?(breaking|major)'
minor-version-bump-message: '\+semver:\s?(feature|minor)'
patch-version-bump-message: '\+semver:\s?(fix|patch)'
# Branch configuration for Continuous Delivery
branches:
# Main/Master branch - production releases
main:
regex: '^(main|master)$'
mode: ContinuousDelivery
label: ''
increment: Patch
# Develop branch - pre-release versions
develop:
regex: '^dev(elop)?(ment)?$'
mode: ContinuousDelivery
label: 'alpha'
increment: Minor
# Release branches - release candidates
release:
regex: '^releases?[/-]'
mode: ContinuousDelivery
label: 'beta'
increment: None
# Feature branches
feature:
regex: '^features?[/-]'
mode: ContinuousDelivery
label: 'feature'
increment: Inherit
# Pull request branches
pull-request:
regex: '^(pull|pull\-requests|pr)[/-]'
mode: ContinuousDelivery
label: 'pr'
increment: Inherit
# Hotfix branches
hotfix:
regex: '^hotfix(es)?[/-]'
mode: ContinuousDelivery
label: 'beta'
increment: Patch
# Support branches for maintenance
support:
regex: '^support[/-]'
mode: ContinuousDelivery
label: ''
increment: Patch