@@ -46,13 +46,13 @@ assembly-file-versioning-scheme: MajorMinorPatch
4646assembly-informational-format : ' {InformationalVersion}'
4747mode : ContinuousDelivery
4848increment : Inherit
49- continuous-delivery-fallback-tag : ci
50- tag -prefix : ' [vV]'
49+ continuous-delivery-fallback-label : ci
50+ label -prefix : ' [vV]'
5151major-version-bump-message : ' \+semver:\s?(breaking|major)'
5252minor-version-bump-message : ' \+semver:\s?(feature|minor)'
5353patch-version-bump-message : ' \+semver:\s?(fix|patch)'
5454no-bump-message : ' \+semver:\s?(none|skip)'
55- tag -pre-release-weight : 60000
55+ label -pre-release-weight : 60000
5656commit-message-incrementing : Enabled
5757ignore :
5858 sha : []
@@ -142,26 +142,26 @@ for [increment](#increment),
142142[prevent-increment-of-merged-branch-version](#prevent-increment-of-merged-branch-version)
143143and [tracks-release-branches](#tracks-release-branches).
144144
145- # ## continuous-delivery-fallback-tag
145+ # ## continuous-delivery-fallback-label
146146
147147When using `mode : ContinuousDeployment`, the value specified in
148- ` continuous-delivery-fallback-tag ` will be used as the pre-release tag for
148+ ` continuous-delivery-fallback-label ` will be used as the pre-release label for
149149branches which do not have one specified. Default set to `ci`.
150150
151151Just to clarify : For a build name without `...-ci-<buildnumber>` or in other
152152words without a `PreReleaseTag` (ergo `"PreReleaseTag":""` in GitVersion's JSON output)
153- at the end you would need to set `continuous-delivery-fallback-tag ` to an empty
153+ at the end you would need to set `continuous-delivery-fallback-label ` to an empty
154154string (`''`) :
155155
156156` ` ` yaml
157157mode: ContinuousDeployment
158- continuous-delivery-fallback-tag : ''
158+ continuous-delivery-fallback-label : ''
159159...
160160` ` `
161161
162162Doing so can be helpful if you use your `main` branch as a `release` branch.
163163
164- # ## tag -prefix
164+ # ## label -prefix
165165
166166A regex which is used to trim Git tags before processing (e.g., v1.0.0). Default
167167is `[vV]`, although this is just for illustrative purposes as we do a IgnoreCase
@@ -194,7 +194,7 @@ none` and `+semver: skip`
194194When a commit matches **both** the `no-bump-message` **and** any combination of
195195the `version-bump-message`, `no-bump-message` takes precedence and no increment is applied.
196196
197- # ## tag -pre-release-weight
197+ # ## label -pre-release-weight
198198
199199The pre-release weight in case of tagged commits. If the value is not set in the
200200configuration, a default weight of 60000 is used instead. If the
@@ -293,7 +293,7 @@ branches:
293293 main:
294294 regex: ^master$|^main$
295295 mode: ContinuousDelivery
296- tag : ''
296+ label : ''
297297 increment: Patch
298298 prevent-increment-of-merged-branch-version: true
299299 track-merge-target: false
@@ -305,7 +305,7 @@ branches:
305305 develop:
306306 regex: ^dev(elop)?(ment)?$
307307 mode: ContinuousDeployment
308- tag : alpha
308+ label : alpha
309309 increment: Minor
310310 prevent-increment-of-merged-branch-version: false
311311 track-merge-target: true
@@ -317,7 +317,7 @@ branches:
317317 release:
318318 regex: ^releases?[/-]
319319 mode: ContinuousDelivery
320- tag : beta
320+ label : beta
321321 increment: None
322322 prevent-increment-of-merged-branch-version: true
323323 track-merge-target: false
@@ -329,29 +329,29 @@ branches:
329329 feature:
330330 regex: ^features?[/-]
331331 mode: ContinuousDelivery
332- tag : '{BranchName}'
332+ label : '{BranchName}'
333333 increment: Inherit
334334 source-branches: [ 'develop', 'main', 'release', 'feature', 'support', 'hotfix' ]
335- pre-release-weight: 30000
335+ pre-release-weight: 30000
336336 pull-request:
337337 regex: ^(pull|pull\- requests|pr)[/-]
338338 mode: ContinuousDelivery
339- tag : PullRequest
339+ label : PullRequest
340340 increment: Inherit
341- tag -number-pattern: '[/-](?<number>\d +)[-/]'
341+ label -number-pattern: '[/-](?<number>\d +)[-/]'
342342 source-branches: [ 'develop', 'main', 'release', 'feature', 'support', 'hotfix' ]
343343 pre-release-weight: 30000
344344 hotfix:
345345 regex: ^hotfix(es)?[/-]
346346 mode: ContinuousDelivery
347- tag : beta
347+ label : beta
348348 increment: Inherit
349349 source-branches: [ 'release', 'main', 'support', 'hotfix' ]
350350 pre-release-weight: 30000
351351 support:
352352 regex: ^support[/-]
353353 mode: ContinuousDelivery
354- tag : ''
354+ label : ''
355355 increment: Patch
356356 prevent-increment-of-merged-branch-version: true
357357 track-merge-target: false
@@ -457,15 +457,15 @@ The header for all the individual branch configuration.
457457
458458Same as for the [global configuration, explained above](#mode).
459459
460- # ## tag
460+ # ## label
461461
462- The pre release tag to use for this branch. Use the value `useBranchName` to use
462+ The pre release label to use for this branch. Use the value `useBranchName` to use
463463the branch name instead. For example `feature/foo` would become a pre-release
464- tag of `foo` with this value. Use the value `{BranchName}` as a placeholder to
465- insert the branch name. For example `feature/foo` would become a pre-release tag
464+ label of `foo` with this value. Use the value `{BranchName}` as a placeholder to
465+ insert the branch name. For example `feature/foo` would become a pre-release label
466466of `alpha.foo` with the value of `alpha.{BranchName}`.
467467
468- **Note:** To clear a default use an empty string: `tag : ''`
468+ **Note:** To clear a default use an empty string: `label : ''`
469469
470470# ## increment
471471
@@ -482,15 +482,15 @@ In a GitFlow-based repository, setting this option can have implications on the
482482better version source proposed by the `MergeMessageBaseVersionStrategy`. For
483483more details and an in-depth analysis, please see [the discussion][2506].
484484
485- # ## tag -number-pattern
485+ # ## label -number-pattern
486486
487487Pull requests require us to extract the pre-release number out of the branch
488488name so `refs/pulls/534/merge` builds as `PullRequest.534`. This is a regex with
489489a named capture group called `number`.
490490
491491If the branch `mode` is set to `ContinuousDeployment`, then the extracted
492- ` number` is appended to the name of the pre-release tag and the number portion
493- is the number of commits since the last tag . This enables consecutive commits to
492+ ` number` is appended to the name of the pre-release label and the number portion
493+ is the number of commits since the last label . This enables consecutive commits to
494494the pull request branch to generate unique full semantic version numbers when
495495the branch is configured to use ContinuousDeployment mode.
496496
@@ -500,10 +500,10 @@ the branch is configured to use ContinuousDeployment mode.
500500branches:
501501 pull-request:
502502 mode: ContinuousDeployment
503- tag : PullRequest
503+ label : PullRequest
504504 increment: Inherit
505505 track-merge-target: true
506- tag -number-pattern: '[/-](?<number>\d +)[-/]'
506+ label -number-pattern: '[/-](?<number>\d +)[-/]'
507507` ` `
508508
509509# ## track-merge-target
0 commit comments