-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGitVersion.yml
45 lines (41 loc) · 1.57 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
42
43
44
45
assembly-versioning-scheme: MajorMinorPatch
mode: ContinuousDeployment # Global mode for automatic versioning
next-version: 1.2.1 # Base version for the project
branches:
main:
regex: ^main$
mode: ContinuousDelivery # Stable releases on main
tag: '' # No tag for stable versions
increment: Patch # Increment patch version on merges
prevent-increment-of-merged-branch-version: true
track-merge-target: false
source-branches: [ 'develop', 'release' ] # Merges from develop or release
tracks-release-branches: false
is-release-branch: false
is-mainline: true
pre-release-weight: 55000
develop:
regex: ^dev(elop)?(ment)?$
mode: ContinuousDeployment # Pre-releases on develop
tag: beta # Append "-beta" for develop
increment: Patch # Increment patch version
prevent-increment-of-merged-branch-version: false
track-merge-target: true # Track the merge target for correct versioning
source-branches: []
tracks-release-branches: false
is-release-branch: false
is-mainline: false
release:
regex: ^releases?[/-]
mode: ContinuousDelivery # Stable release candidates on release branches
tag: rc # Append "-rc" for release candidates
increment: Patch # Increment patch version
prevent-increment-of-merged-branch-version: true
track-merge-target: false
source-branches: [ 'develop', 'main' ] # Merges from develop or main
tracks-release-branches: false
is-release-branch: true # This is the release branch
is-mainline: false
ignore:
sha: []
merge-message-formats: {}