|
10 | 10 | "type": "string" |
11 | 11 | }, |
12 | 12 | "assembly-file-versioning-scheme": { |
13 | | - "description": "The scheme to use when setting AssemblyFileVersion attribute. Can be \u0027MajorMinorPatchTag\u0027, \u0027MajorMinorPatch\u0027, \u0027MajorMinor\u0027, \u0027Major\u0027, \u0027None\u0027.", |
| 13 | + "description": "The scheme to use when setting AssemblyFileVersion attribute. Can be \u0027MajorMinorPatchTag\u0027, \u0027MajorMinorPatch\u0027, \u0027MajorMinor\u0027, \u0027Major\u0027, \u0027None\u0027. Defaults to \u0027MajorMinorPatch\u0027.", |
| 14 | + "default": "MajorMinorPatch", |
14 | 15 | "enum": [ |
15 | 16 | "MajorMinorPatchTag", |
16 | 17 | "MajorMinorPatch", |
|
20 | 21 | ] |
21 | 22 | }, |
22 | 23 | "assembly-informational-format": { |
23 | | - "description": "Specifies the format of AssemblyInformationalVersion. The default value is {InformationalVersion}.", |
| 24 | + "description": "Specifies the format of AssemblyInformationalVersion. Defaults to \u0027{InformationalVersion}\u0027.", |
| 25 | + "default": "{InformationalVersion}", |
24 | 26 | "type": "string" |
25 | 27 | }, |
26 | 28 | "assembly-versioning-format": { |
27 | 29 | "description": "Specifies the format of AssemblyVersion and overwrites the value of assembly-versioning-scheme.", |
28 | 30 | "type": "string" |
29 | 31 | }, |
30 | 32 | "assembly-versioning-scheme": { |
31 | | - "description": "The scheme to use when setting AssemblyVersion attribute. Can be \u0027MajorMinorPatchTag\u0027, \u0027MajorMinorPatch\u0027, \u0027MajorMinor\u0027, \u0027Major\u0027, \u0027None\u0027.", |
| 33 | + "description": "The scheme to use when setting AssemblyVersion attribute. Can be \u0027MajorMinorPatchTag\u0027, \u0027MajorMinorPatch\u0027, \u0027MajorMinor\u0027, \u0027Major\u0027, \u0027None\u0027. Defaults to \u0027MajorMinorPatch\u0027.", |
| 34 | + "default": "MajorMinorPatch", |
32 | 35 | "enum": [ |
33 | 36 | "MajorMinorPatchTag", |
34 | 37 | "MajorMinorPatch", |
|
45 | 48 | } |
46 | 49 | }, |
47 | 50 | "commit-date-format": { |
48 | | - "format": "date-time", |
49 | | - "pattern": "\u0027yyyy-MM-dd\u0027", |
50 | | - "description": "The format to use when calculating the commit date. Defaults to \u0027yyyy-MM-dd\u0027.", |
| 51 | + "description": "The format to use when calculating the commit date. Defaults to \u0027yyyy-MM-dd\u0027. See [Standard Date and Time Format Strings](https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings) and [Custom Date and Time Format Strings](https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings).", |
| 52 | + "default": "yyyy-MM-dd", |
51 | 53 | "type": "string" |
52 | 54 | }, |
53 | 55 | "commit-message-incrementing": { |
|
58 | 60 | "type": "object", |
59 | 61 | "properties": { |
60 | 62 | "commits-before": { |
61 | | - "$ref": "#/$defs/nullableOfDateTimeOffset" |
| 63 | + "$ref": "#/$defs/string3" |
62 | 64 | }, |
63 | 65 | "sha": { |
64 | 66 | "$ref": "#/$defs/hashSetOfString2" |
|
84 | 86 | "$ref": "#/$defs/string1" |
85 | 87 | }, |
86 | 88 | "major-version-bump-message": { |
87 | | - "format": "regex", |
88 | | - "pattern": "\u0027\\\u002Bsemver:\\s?(breaking|major)\u0027", |
89 | 89 | "description": "The regular expression to match commit messages with to perform a major version increment. Default set to \u0027\\\u002Bsemver:\\s?(breaking|major)\u0027", |
| 90 | + "default": "\\\u002Bsemver:\\s?(breaking|major)", |
90 | 91 | "type": "string" |
91 | 92 | }, |
92 | 93 | "merge-message-formats": { |
|
97 | 98 | } |
98 | 99 | }, |
99 | 100 | "minor-version-bump-message": { |
100 | | - "format": "regex", |
101 | | - "pattern": "\u0027\\\u002Bsemver:\\s?(feature|minor)\u0027", |
102 | 101 | "description": "The regular expression to match commit messages with to perform a minor version increment. Default set to \u0027\\\u002Bsemver:\\s?(feature|minor)\u0027", |
| 102 | + "default": "\\\u002Bsemver:\\s?(feature|minor)", |
103 | 103 | "type": "string" |
104 | 104 | }, |
105 | 105 | "next-version": { |
106 | 106 | "description": "Allows you to bump the next version explicitly. Useful for bumping main or a feature branch with breaking changes", |
107 | 107 | "type": "string" |
108 | 108 | }, |
109 | 109 | "no-bump-message": { |
110 | | - "format": "regex", |
111 | | - "pattern": "\u0027\\\u002Bsemver:\\s?(none|skip)\u0027", |
112 | | - "description": "Used to tell GitVersion not to increment when in Mainline development mode. . Default set to \u0027\\\u002Bsemver:\\s?(none|skip)\u0027", |
| 110 | + "description": "Used to tell GitVersion not to increment when in Mainline development mode. Default set to \u0027\\\u002Bsemver:\\s?(none|skip)\u0027", |
| 111 | + "default": "\\\u002Bsemver:\\s?(none|skip)", |
113 | 112 | "type": "string" |
114 | 113 | }, |
115 | 114 | "patch-version-bump-message": { |
116 | | - "format": "regex", |
117 | | - "pattern": "\u0027\\\u002Bsemver:\\s?(fix|patch)\u0027", |
118 | 115 | "description": "The regular expression to match commit messages with to perform a patch version increment. Default set to \u0027\\\u002Bsemver:\\s?(fix|patch)\u0027", |
| 116 | + "default": "\\\u002Bsemver:\\s?(fix|patch)", |
119 | 117 | "type": "string" |
120 | 118 | }, |
121 | 119 | "pre-release-weight": { |
|
128 | 126 | "$ref": "#/$defs/string2" |
129 | 127 | }, |
130 | 128 | "semantic-version-format": { |
131 | | - "description": "Specifies the semantic version format that is used when parsing the string. Can be \u0027Strict\u0027 or \u0027Loose\u0027.", |
| 129 | + "description": "Specifies the semantic version format that is used when parsing the string. Can be \u0027Strict\u0027 or \u0027Loose\u0027. Defaults to \u0027Strict\u0027.", |
| 130 | + "default": "Strict", |
132 | 131 | "enum": [ |
133 | 132 | "Strict", |
134 | 133 | "Loose" |
|
138 | 137 | "$ref": "#/$defs/hashSetOfString1" |
139 | 138 | }, |
140 | 139 | "tag-prefix": { |
141 | | - "description": "A regular expression which is used to trim Git tags before processing. Defaults to [vV]?", |
| 140 | + "description": "A regular expression which is used to trim Git tags before processing. Defaults to \u0027[vV]?\u0027", |
| 141 | + "default": "[vV]?", |
142 | 142 | "type": "string" |
143 | 143 | }, |
144 | 144 | "tag-pre-release-weight": { |
|
159 | 159 | }, |
160 | 160 | "update-build-number": { |
161 | 161 | "description": "Whether to update the build number in the project file. Defaults to true.", |
| 162 | + "default": "true", |
162 | 163 | "type": "boolean" |
163 | 164 | }, |
164 | 165 | "version-in-branch-pattern": { |
165 | | - "description": "A regular expression which is used to determine the version number in the branch name or commit message (e.g., v1.0.0-LTS). The default value is \u0027(?\u003Cversion\u003E[vV]?\\d\u002B(\\.\\d\u002B)?(\\.\\d\u002B)?).*\u0027.", |
| 166 | + "description": "A regular expression which is used to determine the version number in the branch name or commit message (e.g., v1.0.0-LTS). Defaults to \u0027(?\u003Cversion\u003E[vV]?\\d\u002B(\\.\\d\u002B)?(\\.\\d\u002B)?).*\u0027.", |
| 167 | + "default": "(?\u003Cversion\u003E[vV]?\\d\u002B(\\.\\d\u002B)?(\\.\\d\u002B)?).*", |
166 | 168 | "type": "string" |
167 | 169 | }, |
168 | 170 | "mode": { |
169 | 171 | "$ref": "#/$defs/nullableOfVersioningMode" |
170 | 172 | }, |
171 | 173 | "workflow": { |
172 | | - "description": "The base template of the configuration to use. Possible values are: GitFlow/v1 or GitHubFlow/v1", |
| 174 | + "description": "The base template of the configuration to use. Possible values are: \u0027GitFlow/v1\u0027 or \u0027GitHubFlow/v1\u0027", |
173 | 175 | "type": "string" |
174 | 176 | } |
175 | 177 | }, |
|
269 | 271 | "type": "string" |
270 | 272 | }, |
271 | 273 | "string1": { |
272 | | - "format": "regex", |
273 | | - "pattern": "[/-](?\u003Cnumber\u003E\\d\u002B)[-/]", |
274 | 274 | "description": "The regular expression pattern to use to extract the number from the branch name. Defaults to \u0027[/-](?\u003Cnumber\u003E\\d\u002B)[-/]\u0027.", |
| 275 | + "default": "[/-](?\u003Cnumber\u003E\\d\u002B)[-/]", |
275 | 276 | "type": "string" |
276 | 277 | }, |
277 | 278 | "nullableOfInt32": { |
|
329 | 330 | "Mainline" |
330 | 331 | ] |
331 | 332 | }, |
332 | | - "nullableOfDateTimeOffset": { |
| 333 | + "string3": { |
333 | 334 | "format": "date-time", |
334 | | - "pattern": "\u0027yyyy-MM-ddTHH:mm:ss\u0027", |
335 | 335 | "description": "Commits before this date will be ignored. Format: yyyy-MM-ddTHH:mm:ss.", |
336 | | - "type": [ |
337 | | - "object", |
338 | | - "null" |
339 | | - ], |
340 | | - "properties": { |
341 | | - "date": { |
342 | | - "$ref": "#/$defs/dateTime" |
343 | | - }, |
344 | | - "date-time": { |
345 | | - "$ref": "#/$defs/dateTime" |
346 | | - }, |
347 | | - "day": { |
348 | | - "$ref": "#/$defs/integer" |
349 | | - }, |
350 | | - "day-of-week": { |
351 | | - "enum": [ |
352 | | - "Sunday", |
353 | | - "Monday", |
354 | | - "Tuesday", |
355 | | - "Wednesday", |
356 | | - "Thursday", |
357 | | - "Friday", |
358 | | - "Saturday" |
359 | | - ], |
360 | | - "readOnly": true |
361 | | - }, |
362 | | - "day-of-year": { |
363 | | - "$ref": "#/$defs/integer" |
364 | | - }, |
365 | | - "hour": { |
366 | | - "$ref": "#/$defs/integer" |
367 | | - }, |
368 | | - "local-date-time": { |
369 | | - "$ref": "#/$defs/dateTime" |
370 | | - }, |
371 | | - "microsecond": { |
372 | | - "$ref": "#/$defs/integer" |
373 | | - }, |
374 | | - "millisecond": { |
375 | | - "$ref": "#/$defs/integer" |
376 | | - }, |
377 | | - "minute": { |
378 | | - "$ref": "#/$defs/integer" |
379 | | - }, |
380 | | - "month": { |
381 | | - "$ref": "#/$defs/integer" |
382 | | - }, |
383 | | - "nanosecond": { |
384 | | - "$ref": "#/$defs/integer" |
385 | | - }, |
386 | | - "offset": { |
387 | | - "$ref": "#/$defs/timeSpan" |
388 | | - }, |
389 | | - "second": { |
390 | | - "$ref": "#/$defs/integer" |
391 | | - }, |
392 | | - "ticks": { |
393 | | - "$ref": "#/$defs/integer1" |
394 | | - }, |
395 | | - "time-of-day": { |
396 | | - "$ref": "#/$defs/timeSpan" |
397 | | - }, |
398 | | - "utc-date-time": { |
399 | | - "$ref": "#/$defs/dateTime" |
400 | | - }, |
401 | | - "utc-ticks": { |
402 | | - "$ref": "#/$defs/integer1" |
403 | | - }, |
404 | | - "year": { |
405 | | - "$ref": "#/$defs/integer" |
406 | | - } |
407 | | - } |
408 | | - }, |
409 | | - "dateTimeOffset": { |
410 | | - "type": [ |
411 | | - "object", |
412 | | - "null" |
413 | | - ], |
414 | | - "properties": { |
415 | | - "date": { |
416 | | - "$ref": "#/$defs/dateTime" |
417 | | - }, |
418 | | - "date-time": { |
419 | | - "$ref": "#/$defs/dateTime" |
420 | | - }, |
421 | | - "day": { |
422 | | - "$ref": "#/$defs/integer" |
423 | | - }, |
424 | | - "day-of-week": { |
425 | | - "enum": [ |
426 | | - "Sunday", |
427 | | - "Monday", |
428 | | - "Tuesday", |
429 | | - "Wednesday", |
430 | | - "Thursday", |
431 | | - "Friday", |
432 | | - "Saturday" |
433 | | - ], |
434 | | - "readOnly": true |
435 | | - }, |
436 | | - "day-of-year": { |
437 | | - "$ref": "#/$defs/integer" |
438 | | - }, |
439 | | - "hour": { |
440 | | - "$ref": "#/$defs/integer" |
441 | | - }, |
442 | | - "local-date-time": { |
443 | | - "$ref": "#/$defs/dateTime" |
444 | | - }, |
445 | | - "microsecond": { |
446 | | - "$ref": "#/$defs/integer" |
447 | | - }, |
448 | | - "millisecond": { |
449 | | - "$ref": "#/$defs/integer" |
450 | | - }, |
451 | | - "minute": { |
452 | | - "$ref": "#/$defs/integer" |
453 | | - }, |
454 | | - "month": { |
455 | | - "$ref": "#/$defs/integer" |
456 | | - }, |
457 | | - "nanosecond": { |
458 | | - "$ref": "#/$defs/integer" |
459 | | - }, |
460 | | - "offset": { |
461 | | - "$ref": "#/$defs/timeSpan" |
462 | | - }, |
463 | | - "second": { |
464 | | - "$ref": "#/$defs/integer" |
465 | | - }, |
466 | | - "ticks": { |
467 | | - "$ref": "#/$defs/integer1" |
468 | | - }, |
469 | | - "time-of-day": { |
470 | | - "$ref": "#/$defs/timeSpan" |
471 | | - }, |
472 | | - "utc-date-time": { |
473 | | - "$ref": "#/$defs/dateTime" |
474 | | - }, |
475 | | - "utc-ticks": { |
476 | | - "$ref": "#/$defs/integer1" |
477 | | - }, |
478 | | - "year": { |
479 | | - "$ref": "#/$defs/integer" |
480 | | - } |
481 | | - } |
482 | | - }, |
483 | | - "dateTime": { |
484 | | - "type": "string", |
485 | | - "format": "date-time", |
486 | | - "readOnly": true |
487 | | - }, |
488 | | - "integer": { |
489 | | - "type": "integer", |
490 | | - "readOnly": true |
491 | | - }, |
492 | | - "timeSpan": { |
493 | | - "type": "object", |
494 | | - "properties": { |
495 | | - "days": { |
496 | | - "$ref": "#/$defs/integer" |
497 | | - }, |
498 | | - "hours": { |
499 | | - "$ref": "#/$defs/integer" |
500 | | - }, |
501 | | - "microseconds": { |
502 | | - "$ref": "#/$defs/integer" |
503 | | - }, |
504 | | - "milliseconds": { |
505 | | - "$ref": "#/$defs/integer" |
506 | | - }, |
507 | | - "minutes": { |
508 | | - "$ref": "#/$defs/integer" |
509 | | - }, |
510 | | - "nanoseconds": { |
511 | | - "$ref": "#/$defs/integer" |
512 | | - }, |
513 | | - "seconds": { |
514 | | - "$ref": "#/$defs/integer" |
515 | | - }, |
516 | | - "ticks": { |
517 | | - "$ref": "#/$defs/integer1" |
518 | | - }, |
519 | | - "total-days": { |
520 | | - "$ref": "#/$defs/number" |
521 | | - }, |
522 | | - "total-hours": { |
523 | | - "$ref": "#/$defs/number" |
524 | | - }, |
525 | | - "total-microseconds": { |
526 | | - "$ref": "#/$defs/number" |
527 | | - }, |
528 | | - "total-milliseconds": { |
529 | | - "$ref": "#/$defs/number" |
530 | | - }, |
531 | | - "total-minutes": { |
532 | | - "$ref": "#/$defs/number" |
533 | | - }, |
534 | | - "total-nanoseconds": { |
535 | | - "$ref": "#/$defs/number" |
536 | | - }, |
537 | | - "total-seconds": { |
538 | | - "$ref": "#/$defs/number" |
539 | | - } |
540 | | - }, |
541 | | - "readOnly": true |
542 | | - }, |
543 | | - "integer1": { |
544 | | - "type": "integer", |
545 | | - "readOnly": true |
546 | | - }, |
547 | | - "number": { |
548 | | - "type": "number", |
549 | | - "readOnly": true |
| 336 | + "type": "string" |
550 | 337 | }, |
551 | 338 | "hashSetOfString2": { |
552 | 339 | "description": "A sequence of SHAs to be excluded from the version calculations.", |
|
0 commit comments