Skip to content

Commit 5e685ce

Browse files
committed
Updated branch configuration example
1 parent c38e7b6 commit 5e685ce

File tree

1 file changed

+50
-2
lines changed

1 file changed

+50
-2
lines changed

docs/configuration.md

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,62 @@ Then we have branch specific configuration, which looks something like this:
127127
```yaml
128128
branches:
129129
master:
130-
tag:
130+
mode: ContinuousDelivery
131+
tag: ''
131132
increment: Patch
132133
prevent-increment-of-merged-branch-version: true
134+
track-merge-target: false
135+
is-develop: false
136+
is-release-branch: false
137+
releases?[/-]:
138+
mode: ContinuousDelivery
139+
tag: beta
140+
increment: Patch
141+
prevent-increment-of-merged-branch-version: true
142+
track-merge-target: false
143+
is-develop: false
144+
is-release-branch: true
145+
features?[/-]:
146+
mode: ContinuousDelivery
147+
tag: useBranchName
148+
increment: Inherit
149+
prevent-increment-of-merged-branch-version: false
150+
track-merge-target: false
151+
is-develop: false
152+
is-release-branch: false
133153
(pull|pull\-requests|pr)[/-]:
154+
mode: ContinuousDelivery
134155
tag: PullRequest
135156
increment: Inherit
136-
track-merge-target: true
157+
prevent-increment-of-merged-branch-version: false
137158
tag-number-pattern: '[/-](?<number>\d+)[-/]'
159+
track-merge-target: false
160+
is-develop: false
161+
is-release-branch: false
162+
hotfix(es)?[/-]:
163+
mode: ContinuousDelivery
164+
tag: beta
165+
increment: Patch
166+
prevent-increment-of-merged-branch-version: false
167+
track-merge-target: false
168+
is-develop: false
169+
is-release-branch: false
170+
support[/-]:
171+
mode: ContinuousDelivery
172+
tag: ''
173+
increment: Patch
174+
prevent-increment-of-merged-branch-version: true
175+
track-merge-target: false
176+
is-develop: false
177+
is-release-branch: false
178+
dev(elop)?(ment)?$:
179+
mode: ContinuousDeployment
180+
tag: unstable
181+
increment: Minor
182+
prevent-increment-of-merged-branch-version: false
183+
track-merge-target: true
184+
is-develop: true
185+
is-release-branch: false
138186
```
139187

140188
The options in here are:

0 commit comments

Comments
 (0)