Skip to content

Commit f285313

Browse files
committed
chore: regen GitVersion configuration schema (6.0)
1 parent 1611d06 commit f285313

File tree

1 file changed

+25
-238
lines changed

1 file changed

+25
-238
lines changed

schemas/6.0/GitVersion.configuration.json

Lines changed: 25 additions & 238 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"type": "string"
1111
},
1212
"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",
1415
"enum": [
1516
"MajorMinorPatchTag",
1617
"MajorMinorPatch",
@@ -20,15 +21,17 @@
2021
]
2122
},
2223
"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}",
2426
"type": "string"
2527
},
2628
"assembly-versioning-format": {
2729
"description": "Specifies the format of AssemblyVersion and overwrites the value of assembly-versioning-scheme.",
2830
"type": "string"
2931
},
3032
"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",
3235
"enum": [
3336
"MajorMinorPatchTag",
3437
"MajorMinorPatch",
@@ -45,9 +48,8 @@
4548
}
4649
},
4750
"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",
5153
"type": "string"
5254
},
5355
"commit-message-incrementing": {
@@ -58,7 +60,7 @@
5860
"type": "object",
5961
"properties": {
6062
"commits-before": {
61-
"$ref": "#/$defs/nullableOfDateTimeOffset"
63+
"$ref": "#/$defs/string3"
6264
},
6365
"sha": {
6466
"$ref": "#/$defs/hashSetOfString2"
@@ -84,9 +86,8 @@
8486
"$ref": "#/$defs/string1"
8587
},
8688
"major-version-bump-message": {
87-
"format": "regex",
88-
"pattern": "\u0027\\\u002Bsemver:\\s?(breaking|major)\u0027",
8989
"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)",
9091
"type": "string"
9192
},
9293
"merge-message-formats": {
@@ -97,25 +98,22 @@
9798
}
9899
},
99100
"minor-version-bump-message": {
100-
"format": "regex",
101-
"pattern": "\u0027\\\u002Bsemver:\\s?(feature|minor)\u0027",
102101
"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)",
103103
"type": "string"
104104
},
105105
"next-version": {
106106
"description": "Allows you to bump the next version explicitly. Useful for bumping main or a feature branch with breaking changes",
107107
"type": "string"
108108
},
109109
"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)",
113112
"type": "string"
114113
},
115114
"patch-version-bump-message": {
116-
"format": "regex",
117-
"pattern": "\u0027\\\u002Bsemver:\\s?(fix|patch)\u0027",
118115
"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)",
119117
"type": "string"
120118
},
121119
"pre-release-weight": {
@@ -128,7 +126,8 @@
128126
"$ref": "#/$defs/string2"
129127
},
130128
"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",
132131
"enum": [
133132
"Strict",
134133
"Loose"
@@ -138,7 +137,8 @@
138137
"$ref": "#/$defs/hashSetOfString1"
139138
},
140139
"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]?",
142142
"type": "string"
143143
},
144144
"tag-pre-release-weight": {
@@ -159,17 +159,19 @@
159159
},
160160
"update-build-number": {
161161
"description": "Whether to update the build number in the project file. Defaults to true.",
162+
"default": "true",
162163
"type": "boolean"
163164
},
164165
"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)?).*",
166168
"type": "string"
167169
},
168170
"mode": {
169171
"$ref": "#/$defs/nullableOfVersioningMode"
170172
},
171173
"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",
173175
"type": "string"
174176
}
175177
},
@@ -269,9 +271,8 @@
269271
"type": "string"
270272
},
271273
"string1": {
272-
"format": "regex",
273-
"pattern": "[/-](?\u003Cnumber\u003E\\d\u002B)[-/]",
274274
"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)[-/]",
275276
"type": "string"
276277
},
277278
"nullableOfInt32": {
@@ -329,224 +330,10 @@
329330
"Mainline"
330331
]
331332
},
332-
"nullableOfDateTimeOffset": {
333+
"string3": {
333334
"format": "date-time",
334-
"pattern": "\u0027yyyy-MM-ddTHH:mm:ss\u0027",
335335
"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"
550337
},
551338
"hashSetOfString2": {
552339
"description": "A sequence of SHAs to be excluded from the version calculations.",

0 commit comments

Comments
 (0)