22
22
# - from v2_release (pre-release): 2.0.0-prealpha.1 or 2.0.0-beta.1
23
23
# - from v2_release (release): 2.0.0 (patch version increments)
24
24
#
25
- mode : ContinuousDeployment # GitVersion 6.x uses Mainline mode for GitFlow, focusing on main branch releases
25
+ mode : ContinuousDelivery # GitVersion 6.x uses Mainline mode for GitFlow, focusing on main branch releases
26
26
27
27
# We prefix our tags with 'v' or 'V' (e.g., v1.0.0)
28
28
tag-prefix : ' [vV]'
29
29
30
30
branches :
31
+
32
+ # V2 Release Branch
33
+ main :
34
+ # Matches the v2_release branch
35
+ regex : ^v2_release$
36
+ # Uses 'prealpha' as pre-release label before official release
37
+ label : prealpha
38
+ # Increments patch version (x.y.z+1) on commits
39
+ increment : Patch
40
+ # Specifies v2_develop as the source branch
41
+ source-branches : ['develop']
42
+
31
43
# V2 Development Branch
32
44
develop :
33
45
# Matches the v2_develop branch
@@ -41,32 +53,21 @@ branches:
41
53
# Indicates this branch feeds into release branches
42
54
tracks-release-branches : true
43
55
44
- # V2 Release Branch
45
- main :
46
- # Matches the v2_release branch
47
- regex : v2_release
48
- # Uses 'prealpha' as pre-release label before official release
49
- label : prealpha
50
- # Increments patch version (x.y.z+1) on commits
51
- increment : Patch
52
- # Specifies v2_develop as the source branch
53
- source-branches : ['develop']
56
+ # # V1 Branches - Included for historical reference
57
+ # v1_develop:
58
+ # regex: v1_develop
59
+ # label: v1_develop
60
+ # increment: Minor
61
+ # source-branches: ['v1_release']
62
+ # # Lower weight keeps V1 pre-releases sorted below V2
63
+ # pre-release-weight: 100
54
64
55
- # V1 Branches - Included for historical reference
56
- v1_develop :
57
- regex : v1_develop
58
- label : v1_develop
59
- increment : Minor
60
- source-branches : ['v1_release']
61
- # Lower weight keeps V1 pre-releases sorted below V2
62
- pre-release-weight : 100
63
-
64
- v1_release :
65
- regex : v1_release
66
- # Empty label for stable releases
67
- label : ' '
68
- increment : Patch
69
- source-branches : ['v1_develop']
65
+ # v1_release:
66
+ # regex: v1_release
67
+ # # Empty label for stable releases
68
+ # label: ''
69
+ # increment: Patch
70
+ # source-branches: ['v1_develop']
70
71
71
72
# Pull Request Branches
72
73
# Configures versioning for PRs (e.g., 2.0.0-pr.feature-123.1)
0 commit comments