@@ -18,85 +18,89 @@ commit-date-format: "yyyy-MM-dd"
1818ignore :
1919 sha : []
2020branches :
21+ # Release branch - branch tracks history for specific version
2122 release :
22- regex : ^release?[/-]
23- prevent-increment-of-merged-branch-version : true
24- track-merge-target : false
25- source-branches : [ 'develop', 'main', 'support', 'release' ]
26- tracks-release-branches : false
23+ mode : ContinuousDeployment
24+ regex : ^(release[\/][\d]+\.[\d]+)$
25+ increment : Inherit
2726 is-release-branch : true
28- is-mainline : false
29- pre-release-weight : 30000
30- main :
31- regex : ^master$|^main$
32- mode : ContinuousDelivery
33- tag : ' '
34- increment : Patch
35- prevent-increment-of-merged-branch-version : true
36- track-merge-target : false
37- source-branches : [ 'develop', 'release' ]
38- tracks-release-branches : false
39- is-release-branch : false
40- is-mainline : true
41- pre-release-weight : 55000
42- develop :
43- regex : ^dev(elop)?(ment)?$
27+ # Preview branch - branch accumulates changes for specific version before it is first released
28+ preview :
29+ mode : ContinuousDeployment
30+ regex : ^(release[\/][\d]+\.[\d]+\/preview)$
31+ increment : Inherit
32+ source-branches :
33+ - release
34+ # Hotfix branch - branch hotfixes a critical bug for specific version after it was first released
35+ hotfix :
4436 mode : ContinuousDeployment
45- tag : alpha
46- increment : Minor
47- prevent-increment-of-merged-branch-version : false
48- track-merge-target : true
49- source-branches : []
37+ label : ' {BranchName}'
38+ increment : Inherit
39+ regex : ^hotfix?[/-](?<BranchName>.+)
5040 tracks-release-branches : true
51- is-release-branch : false
52- is-mainline : false
53- pre-release-weight : 0
41+ source-branches :
42+ - release
43+ # Support branch - branch accumulates changes for specific version after it was first released
44+ support :
45+ mode : ContinuousDeployment
46+ regex : ^(release[\/][\d]+\.[\d]+\/support)$
47+ increment : Inherit
48+ source-branches :
49+ - release
50+ # Bugfixes branch - branch hotfixes bugs for specific version after it was first released
51+ bugfix :
52+ mode : ContinuousDeployment
53+ label : ' {BranchName}'
54+ increment : Inherit
55+ regex : ^bugfix?[/-](?<BranchName>.+)
56+ tracks-release-branches : true
57+ source-branches :
58+ - support
59+ # Feature branch - branch accumulates changes for specific version after it was first released
5460 feature :
55- regex : ^feature?[/-]
5661 mode : ContinuousDeployment
57- tag : useBranchName
62+ label : ' {BranchName} '
5863 increment : Inherit
59- prevent-increment-of-merged-branch-version : false
60- track-merge-target : false
61- source-branches : [ 'develop', 'main', 'release', 'feature', 'support', 'hotfix' ]
62- tracks-release-branches : false
63- is-release-branch : false
64- is-mainline : false
65- pre-release-weight : 30000
64+ regex : ^feature?[/-](?<BranchName>.+)$
65+ tracks-release-branches : true
66+ source-branches :
67+ - preview
68+ # PR branch - branch merges a source branch to a target branch
6669 pull-request :
70+ mode : ContinuousDeployment
71+ label : pull-request
72+ increment : Inherit
73+ label-number-pattern : ' [/-](?<number>\d+)'
6774 regex : ^(pull|pull\-requests|pr)[/-]
68- mode : ContinuousDelivery
69- tag : PullRequest
75+ source-branches :
76+ - main
77+ - release
78+ - preview
79+ - hotfix
80+ - support
81+ - bugfix
82+ - feature
83+ # Main branch - branch tracks historical changes between releases
84+ main :
85+ mode : ManualDeployment
7086 increment : Inherit
71- prevent-increment-of-merged-branch-version : false
72- tag-number-pattern : ' [/-](?<number>\d+)[-/]'
73- track-merge-target : false
74- source-branches : [ 'develop', 'main', 'release', 'feature', 'support', 'hotfix' ]
75- tracks-release-branches : false
76- is-release-branch : false
77- is-mainline : false
78- pre-release-weight : 30000
79- hotfix :
80- regex : ^hotfix(es)?[/-]
81- mode : ContinuousDelivery
82- tag : beta
83- increment : Patch
84- prevent-increment-of-merged-branch-version : false
85- track-merge-target : false
86- source-branches : [ 'develop', 'main', 'support' ]
87- tracks-release-branches : false
88- is-release-branch : false
89- is-mainline : false
90- pre-release-weight : 30000
91- support :
92- regex : ^support[/-]
93- mode : ContinuousDelivery
94- tag : ' '
95- increment : Patch
96- prevent-increment-of-merged-branch-version : true
97- track-merge-target : false
98- source-branches : [ 'main' ]
99- tracks-release-branches : false
100- is-release-branch : false
101- is-mainline : true
102- pre-release-weight : 55000
87+ regex : ^main$
88+ tracks-release-branches : true
89+ is-main-branch : true
90+ source-branches :
91+ - release
92+ # Any other branch - branch tracks historical changes between releases
93+ unknown :
94+ mode : ManualDeployment
95+ label : ' {BranchName}'
96+ increment : Inherit
97+ regex : (?<BranchName>.+)
98+ source-branches :
99+ - main
100+ - release
101+ - preview
102+ - hotfix
103+ - support
104+ - bugfix
105+ - feature
106+ - pull-request
0 commit comments