@@ -38,7 +38,9 @@ tag-prefix: '[abc]'
38
38
39
39
The built-in configuration for the ` GitFlow` workflow (`workflow: GitFlow/v1`) looks like:
40
40
41
- ` ` ` yaml
41
+ <!-- snippet : /docs/workflows/GitFlow/v1.yml -->
42
+ <a id='snippet-/docs/workflows/GitFlow/v1.yml'></a>
43
+ ` ` ` yml
42
44
assembly-versioning-scheme: MajorMinorPatch
43
45
assembly-file-versioning-scheme: MajorMinorPatch
44
46
tag-prefix: '[vV]?'
@@ -207,10 +209,14 @@ tracks-release-branches: false
207
209
is-release-branch: false
208
210
is-main-branch: false
209
211
` ` `
212
+ <sup><a href='/docs/workflows/GitFlow/v1.yml#L1-L167' title='Snippet source file'>snippet source</a> | <a href='#snippet-/docs/workflows/GitFlow/v1.yml' title='Start of snippet'>anchor</a></sup>
213
+ <!-- endSnippet -->
210
214
211
215
The supported built-in configuration for the `GitHubFlow` workflow (`workflow : GitHubFlow/v1`) looks like:
212
216
213
- ` ` ` yaml
217
+ <!-- snippet : /docs/workflows/GitHubFlow/v1.yml -->
218
+ <a id='snippet-/docs/workflows/GitHubFlow/v1.yml'></a>
219
+ ` ` ` yml
214
220
assembly-versioning-scheme: MajorMinorPatch
215
221
assembly-file-versioning-scheme: MajorMinorPatch
216
222
tag-prefix: '[vV]?'
@@ -270,12 +276,12 @@ branches:
270
276
increment: Inherit
271
277
prevent-increment:
272
278
when-current-commit-tagged: false
279
+ track-merge-message: true
273
280
regex: ^features?[/-](?<BranchName>.+)
274
281
source-branches:
275
282
- main
276
283
- release
277
284
is-source-branch-for: []
278
- track-merge-message: true
279
285
is-main-branch: false
280
286
pre-release-weight: 30000
281
287
pull-request:
@@ -286,28 +292,28 @@ branches:
286
292
of-merged-branch: true
287
293
when-current-commit-tagged: false
288
294
label-number-pattern: '[/-](?<number>\d +)'
295
+ track-merge-message: true
289
296
regex: ^(pull|pull\- requests|pr)[/-]
290
297
source-branches:
291
298
- main
292
299
- release
293
300
- feature
294
301
is-source-branch-for: []
295
- track-merge-message: true
296
302
pre-release-weight: 30000
297
303
unknown:
298
304
mode: ManualDeployment
299
305
label: '{BranchName}'
300
306
increment: Inherit
301
307
prevent-increment:
302
308
when-current-commit-tagged: false
309
+ track-merge-message: false
303
310
regex: (?<BranchName>.+)
304
311
source-branches:
305
312
- main
306
313
- release
307
314
- feature
308
315
- pull-request
309
316
is-source-branch-for: []
310
- track-merge-message: false
311
317
is-main-branch: false
312
318
ignore:
313
319
sha: []
@@ -328,10 +334,14 @@ tracks-release-branches: false
328
334
is-release-branch: false
329
335
is-main-branch: false
330
336
` ` `
337
+ <sup><a href='/docs/workflows/GitHubFlow/v1.yml#L1-L116' title='Snippet source file'>snippet source</a> | <a href='#snippet-/docs/workflows/GitHubFlow/v1.yml' title='Start of snippet'>anchor</a></sup>
338
+ <!-- endSnippet -->
331
339
332
340
The preview built-in configuration (experimental usage only) for the `TrunkBased` workflow (`workflow : TrunkBased/preview1`) looks like:
333
341
334
- ` ` ` yaml
342
+ <!-- snippet : /docs/workflows/TrunkBased/preview1.yml -->
343
+ <a id='snippet-/docs/workflows/TrunkBased/preview1.yml'></a>
344
+ ` ` ` yml
335
345
assembly-versioning-scheme: MajorMinorPatch
336
346
assembly-file-versioning-scheme: MajorMinorPatch
337
347
tag-prefix: '[vV]?'
@@ -346,55 +356,74 @@ merge-message-formats: {}
346
356
update-build-number: true
347
357
semantic-version-format: Strict
348
358
strategies:
349
- - Mainline
350
359
- ConfiguredNextVersion
360
+ - Mainline
351
361
branches:
352
362
main:
353
363
mode: ContinuousDeployment
354
364
label: ''
355
365
increment: Patch
356
366
prevent-increment:
357
367
of-merged-branch: true
358
- when-current-commit-tagged: true
359
368
track-merge-target: false
369
+ track-merge-message: true
360
370
regex: ^master$|^main$
361
371
source-branches: []
372
+ is-source-branch-for: []
362
373
tracks-release-branches: false
363
374
is-release-branch: false
364
375
is-main-branch: true
365
376
pre-release-weight: 55000
366
377
feature:
378
+ mode: ContinuousDelivery
379
+ label: '{BranchName}'
367
380
increment: Minor
368
- regex: ^features?[/-](?<BranchName>.+)
369
381
prevent-increment:
370
382
when-current-commit-tagged: false
383
+ track-merge-message: true
384
+ regex: ^features?[/-](?<BranchName>.+)
371
385
source-branches:
372
386
- main
387
+ is-source-branch-for: []
388
+ is-main-branch: false
373
389
pre-release-weight: 30000
374
390
hotfix:
391
+ mode: ContinuousDelivery
392
+ label: '{BranchName}'
375
393
increment: Patch
376
- regex: ^hotfix(es)?[/-](?<BranchName>.+)
377
394
prevent-increment:
378
395
when-current-commit-tagged: false
396
+ regex: ^hotfix(es)?[/-](?<BranchName>.+)
379
397
source-branches:
380
398
- main
399
+ is-source-branch-for: []
400
+ is-release-branch: true
401
+ is-main-branch: false
381
402
pre-release-weight: 30000
382
403
pull-request:
383
404
mode: ContinuousDelivery
384
405
label: PullRequest
385
406
increment: Inherit
407
+ prevent-increment:
408
+ of-merged-branch: true
409
+ when-current-commit-tagged: false
386
410
label-number-pattern: '[/-](?<number>\d +)'
411
+ track-merge-message: true
387
412
regex: ^(pull|pull\- requests|pr)[/-]
388
413
source-branches:
389
414
- main
415
+ - feature
416
+ - hotfix
417
+ is-source-branch-for: []
390
418
pre-release-weight: 30000
391
419
unknown:
392
420
increment: Patch
393
- regex: (?<BranchName>.+)
394
421
prevent-increment:
395
422
when-current-commit-tagged: false
423
+ regex: (?<BranchName>.+)
396
424
source-branches:
397
425
- main
426
+ is-source-branch-for: []
398
427
pre-release-weight: 30000
399
428
ignore:
400
429
sha: []
@@ -409,10 +438,14 @@ track-merge-target: false
409
438
track-merge-message: true
410
439
commit-message-incrementing: Enabled
411
440
regex: ''
441
+ source-branches: []
442
+ is-source-branch-for: []
412
443
tracks-release-branches: false
413
444
is-release-branch: false
414
445
is-main-branch: false
415
446
` ` `
447
+ <sup><a href='/docs/workflows/TrunkBased/preview1.yml#L1-L101' title='Snippet source file'>snippet source</a> | <a href='#snippet-/docs/workflows/TrunkBased/preview1.yml' title='Start of snippet'>anchor</a></sup>
448
+ <!-- endSnippet -->
416
449
417
450
The details of the available options are as follows :
418
451
0 commit comments