11# Global settings
2- assembly-versioning-format : ' {Major}.{Minor}.{Patch}.{env:BUILD_NUMBER ?? 42 }'
3- assembly-file-versioning-format : ' {Major}.{Minor}.{Patch}.{env:BUILD_NUMBER ?? 42 }'
2+ assembly-versioning-format : ' {Major}.{Minor}.{Patch}.{env:BUILD_NUMBER ?? 0 }'
3+ assembly-file-versioning-format : ' {Major}.{Minor}.{Patch}.{env:BUILD_NUMBER ?? 0 }'
44tag-prefix : ' [vV]?'
55version-in-branch-pattern : (?<version>[vV]?\d+(\.\d+)?(\.\d+)?).*
66major-version-bump-message : ' '
@@ -36,91 +36,88 @@ ignore:
3636 sha : []
3737# Branch settings
3838branches :
39- # Release branch - branch tracks history for specific version
40- release :
41- mode : ContinuousDeployment
42- regex : ^(release[\/][\d]+\.[\d]+)
43- increment : Inherit
44- is-release-branch : true
45- # Preview branch - branch accumulates changes for specific version before it is first released
46- preview :
47- mode : ContinuousDeployment
48- regex : ^(release[\/][\d]+\.[\d]+\/preview)
49- increment : Inherit
50- source-branches :
51- - release
52- # Hotfix branch - branch hotfixes a critical bug for specific version after it was first released
53- hotfix :
54- mode : ContinuousDeployment
55- label : ' {BranchName}'
56- increment : Inherit
57- regex : ^hotfix?[/-](?<BranchName>.+)
58- tracks-release-branches : true
59- source-branches :
60- - release
61- # Support branch - branch accumulates changes for specific version after it was first released
62- support :
63- mode : ContinuousDeployment
64- regex : ^(release[\/][\d]+\.[\d]+\/support)
65- increment : Inherit
66- source-branches :
67- - release
68- # Bugfixes branch - branch hotfixes bugs for specific version after it was first released
69- bugfix :
39+ main :
40+ regex : ^master$|^main$
41+ mode : ContinuousDelivery
42+ tag : ' '
43+ increment : Patch
44+ prevent-increment-of-merged-branch-version : true
45+ track-merge-target : false
46+ source-branches : [ 'develop', 'release' ]
47+ tracks-release-branches : false
48+ is-release-branch : false
49+ is-mainline : true
50+ pre-release-weight : 55000
51+ develop :
52+ regex : ^dev(elop)?(ment)?$
7053 mode : ContinuousDeployment
71- label : ' {BranchName}'
72- increment : Inherit
73- regex : ^bugfix?[/-](?<BranchName>.+)
54+ tag : alpha
55+ increment : Minor
56+ prevent-increment-of-merged-branch-version : false
57+ track-merge-target : true
58+ source-branches : []
7459 tracks-release-branches : true
75- source-branches :
76- - support
77- # Feature branch - branch accumulates changes for specific version after it was first released
60+ is-release-branch : false
61+ is-mainline : false
62+ pre-release-weight : 0
63+ release :
64+ regex : ^release?[/-]
65+ mode : ContinuousDelivery
66+ tag : beta
67+ increment : None
68+ prevent-increment-of-merged-branch-version : true
69+ track-merge-target : false
70+ source-branches : [ 'develop', 'main', 'support', 'release' ]
71+ tracks-release-branches : false
72+ is-release-branch : true
73+ is-mainline : false
74+ pre-release-weight : 30000
7875 feature :
76+ regex : ^feature?[/-]
7977 mode : ContinuousDeployment
80- label : ' {BranchName} '
78+ tag : useBranchName
8179 increment : Inherit
82- regex : ^feature?[/-](?<BranchName>.+)
83- tracks-release-branches : true
84- source-branches :
85- - preview
86- # PR branch - branch merges a source branch to a target branch
80+ prevent-increment-of-merged-branch-version : false
81+ track-merge-target : false
82+ source-branches : [ 'develop', 'main', 'release', 'feature', 'support', 'hotfix' ]
83+ tracks-release-branches : false
84+ is-release-branch : false
85+ is-mainline : false
86+ pre-release-weight : 30000
8787 pull-request :
88- mode : ContinuousDeployment
89- label : pull-request
90- increment : Inherit
91- label-number-pattern : ' [/-](?<number>\d+)'
9288 regex : ^(pull|pull\-requests|pr)[/-]
93- source-branches :
94- - main
95- - release
96- - preview
97- - hotfix
98- - support
99- - bugfix
100- - feature
101- # Main branch - branch tracks historical changes between releases
102- main :
103- mode : ManualDeployment
104- increment : Inherit
105- regex : ^main$
106- tracks-release-branches : true
107- prevent-increment :
108- of-merged-branch : false
109- is-main-branch : true
110- source-branches :
111- - release
112- # Any other branch
113- unknown :
114- mode : ManualDeployment
115- label : ' {BranchName}'
89+ mode : ContinuousDelivery
90+ tag : PullRequest
11691 increment : Inherit
117- regex : (?<BranchName>.+)
118- source-branches :
119- - main
120- - release
121- - preview
122- - hotfix
123- - support
124- - bugfix
125- - feature
126- - pull-request
92+ prevent-increment-of-merged-branch-version : false
93+ tag-number-pattern : ' [/-](?<number>\d+)[-/]'
94+ track-merge-target : false
95+ source-branches : [ 'develop', 'main', 'release', 'feature', 'support', 'hotfix' ]
96+ tracks-release-branches : false
97+ is-release-branch : false
98+ is-mainline : false
99+ pre-release-weight : 30000
100+ hotfix :
101+ regex : ^hotfix(es)?[/-]
102+ mode : ContinuousDelivery
103+ tag : beta
104+ increment : Patch
105+ prevent-increment-of-merged-branch-version : false
106+ track-merge-target : false
107+ source-branches : [ 'develop', 'main', 'support' ]
108+ tracks-release-branches : false
109+ is-release-branch : false
110+ is-mainline : false
111+ pre-release-weight : 30000
112+ support :
113+ regex : ^support[/-]
114+ mode : ContinuousDelivery
115+ tag : ' '
116+ increment : Patch
117+ prevent-increment-of-merged-branch-version : true
118+ track-merge-target : false
119+ source-branches : [ 'main' ]
120+ tracks-release-branches : false
121+ is-release-branch : false
122+ is-mainline : true
123+ pre-release-weight : 55000
0 commit comments