|
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. Defaults to \u0027MajorMinorPatch\u0027.", |
| 13 | + "description": "The scheme to use when setting AssemblyFileVersion attribute. Can be 'MajorMinorPatchTag', 'MajorMinorPatch', 'MajorMinor', 'Major', 'None'. Defaults to 'MajorMinorPatch'.", |
14 | 14 | "default": "MajorMinorPatch", |
15 | 15 | "enum": [ |
16 | 16 | "MajorMinorPatchTag", |
|
21 | 21 | ] |
22 | 22 | }, |
23 | 23 | "assembly-informational-format": { |
24 | | - "description": "Specifies the format of AssemblyInformationalVersion. Defaults to \u0027{InformationalVersion}\u0027.", |
25 | | - "default": "{InformationalVersion}", |
| 24 | + "description": "Specifies the format of AssemblyInformationalVersion. Defaults to '{InformationalVersion}'.", |
| 25 | + "default": "'{InformationalVersion}'", |
26 | 26 | "type": "string" |
27 | 27 | }, |
28 | 28 | "assembly-versioning-format": { |
29 | 29 | "description": "Specifies the format of AssemblyVersion and overwrites the value of assembly-versioning-scheme.", |
30 | 30 | "type": "string" |
31 | 31 | }, |
32 | 32 | "assembly-versioning-scheme": { |
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.", |
| 33 | + "description": "The scheme to use when setting AssemblyVersion attribute. Can be 'MajorMinorPatchTag', 'MajorMinorPatch', 'MajorMinor', 'Major', 'None'. Defaults to 'MajorMinorPatch'.", |
34 | 34 | "default": "MajorMinorPatch", |
35 | 35 | "enum": [ |
36 | 36 | "MajorMinorPatchTag", |
|
48 | 48 | } |
49 | 49 | }, |
50 | 50 | "commit-date-format": { |
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).", |
| 51 | + "description": "The format to use when calculating the commit date. Defaults to 'yyyy-MM-dd'. 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 | 52 | "default": "yyyy-MM-dd", |
53 | 53 | "type": "string" |
54 | 54 | }, |
|
86 | 86 | "$ref": "#/$defs/string1" |
87 | 87 | }, |
88 | 88 | "major-version-bump-message": { |
89 | | - "description": "The regular expression to match commit messages with to perform a major version increment. Defaults to \u0027\\\u002Bsemver:\\s?(breaking|major)\u0027", |
90 | | - "default": "\\\u002Bsemver:\\s?(breaking|major)", |
| 89 | + "format": "regex", |
| 90 | + "description": "The regular expression to match commit messages with to perform a major version increment. Defaults to '\\+semver:\\s?(breaking|major)'", |
| 91 | + "default": "\\+semver:\\s?(breaking|major)", |
91 | 92 | "type": "string" |
92 | 93 | }, |
93 | 94 | "merge-message-formats": { |
|
98 | 99 | } |
99 | 100 | }, |
100 | 101 | "minor-version-bump-message": { |
101 | | - "description": "The regular expression to match commit messages with to perform a minor version increment. Defaults to \u0027\\\u002Bsemver:\\s?(feature|minor)\u0027", |
102 | | - "default": "\\\u002Bsemver:\\s?(feature|minor)", |
| 102 | + "format": "regex", |
| 103 | + "description": "The regular expression to match commit messages with to perform a minor version increment. Defaults to '\\+semver:\\s?(feature|minor)'", |
| 104 | + "default": "\\+semver:\\s?(feature|minor)", |
103 | 105 | "type": "string" |
104 | 106 | }, |
105 | 107 | "next-version": { |
106 | 108 | "description": "Allows you to bump the next version explicitly. Useful for bumping main or a feature branch with breaking changes", |
107 | 109 | "type": "string" |
108 | 110 | }, |
109 | 111 | "no-bump-message": { |
110 | | - "description": "Used to tell GitVersion not to increment when in Mainline development mode. Defaults to \u0027\\\u002Bsemver:\\s?(none|skip)\u0027", |
111 | | - "default": "\\\u002Bsemver:\\s?(none|skip)", |
| 112 | + "format": "regex", |
| 113 | + "description": "Used to tell GitVersion not to increment when in Mainline development mode. Defaults to '\\+semver:\\s?(none|skip)'", |
| 114 | + "default": "\\+semver:\\s?(none|skip)", |
112 | 115 | "type": "string" |
113 | 116 | }, |
114 | 117 | "patch-version-bump-message": { |
115 | | - "description": "The regular expression to match commit messages with to perform a patch version increment. Defaults to \u0027\\\u002Bsemver:\\s?(fix|patch)\u0027", |
116 | | - "default": "\\\u002Bsemver:\\s?(fix|patch)", |
| 118 | + "format": "regex", |
| 119 | + "description": "The regular expression to match commit messages with to perform a patch version increment. Defaults to '\\+semver:\\s?(fix|patch)'", |
| 120 | + "default": "\\+semver:\\s?(fix|patch)", |
117 | 121 | "type": "string" |
118 | 122 | }, |
119 | 123 | "pre-release-weight": { |
|
126 | 130 | "$ref": "#/$defs/string2" |
127 | 131 | }, |
128 | 132 | "semantic-version-format": { |
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.", |
| 133 | + "description": "Specifies the semantic version format that is used when parsing the string. Can be 'Strict' or 'Loose'. Defaults to 'Strict'.", |
130 | 134 | "default": "Strict", |
131 | 135 | "enum": [ |
132 | 136 | "Strict", |
|
137 | 141 | "$ref": "#/$defs/hashSetOfString1" |
138 | 142 | }, |
139 | 143 | "tag-prefix": { |
140 | | - "description": "A regular expression which is used to trim Git tags before processing. Defaults to \u0027[vV]?\u0027", |
| 144 | + "format": "regex", |
| 145 | + "description": "A regular expression which is used to trim Git tags before processing. Defaults to '[vV]?'", |
141 | 146 | "default": "[vV]?", |
142 | 147 | "type": "string" |
143 | 148 | }, |
|
163 | 168 | "type": "boolean" |
164 | 169 | }, |
165 | 170 | "version-in-branch-pattern": { |
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)?).*", |
| 171 | + "format": "regex", |
| 172 | + "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 '(?<version>[vV]?\\d+(\\.\\d+)?(\\.\\d+)?).*'.", |
| 173 | + "default": "(?<version>[vV]?\\d+(\\.\\d+)?(\\.\\d+)?).*", |
168 | 174 | "type": "string" |
169 | 175 | }, |
170 | 176 | "mode": { |
171 | 177 | "$ref": "#/$defs/nullableOfVersioningMode" |
172 | 178 | }, |
173 | 179 | "workflow": { |
174 | | - "description": "The base template of the configuration to use. Possible values are: \u0027GitFlow/v1\u0027 or \u0027GitHubFlow/v1\u0027", |
| 180 | + "description": "The base template of the configuration to use. Possible values are: 'GitFlow/v1' or 'GitHubFlow/v1'", |
175 | 181 | "type": "string" |
176 | 182 | } |
177 | 183 | }, |
|
227 | 233 | } |
228 | 234 | }, |
229 | 235 | "nullableOfCommitMessageIncrementMode": { |
230 | | - "description": "Sets whether it should be possible to increment the version with special syntax in the commit message. Can be \u0027Disabled\u0027, \u0027Enabled\u0027 or \u0027MergeMessageOnly\u0027.", |
| 236 | + "description": "Sets whether it should be possible to increment the version with special syntax in the commit message. Can be 'Disabled', 'Enabled' or 'MergeMessageOnly'.", |
231 | 237 | "enum": [ |
232 | 238 | "Enabled", |
233 | 239 | "Disabled", |
234 | 240 | "MergeMessageOnly" |
235 | 241 | ] |
236 | 242 | }, |
237 | 243 | "incrementStrategy": { |
238 | | - "description": "The increment strategy for this branch. Can be \u0027Inherit\u0027, \u0027Patch\u0027, \u0027Minor\u0027, \u0027Major\u0027, \u0027None\u0027.", |
| 244 | + "description": "The increment strategy for this branch. Can be 'Inherit', 'Patch', 'Minor', 'Major', 'None'.", |
239 | 245 | "enum": [ |
240 | 246 | "None", |
241 | 247 | "Major", |
|
271 | 277 | "type": "string" |
272 | 278 | }, |
273 | 279 | "string1": { |
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)", |
| 280 | + "format": "regex", |
| 281 | + "description": "The regular expression pattern to use to extract the number from the branch name. Defaults to '[/-](?<number>\\d+)'.", |
| 282 | + "default": "[/-](?<number>\\d+)", |
276 | 283 | "type": "string" |
277 | 284 | }, |
278 | 285 | "nullableOfInt32": { |
|
290 | 297 | ] |
291 | 298 | }, |
292 | 299 | "string2": { |
| 300 | + "format": "regex", |
293 | 301 | "description": "The regular expression pattern to use to match this branch.", |
294 | 302 | "type": "string" |
295 | 303 | }, |
|
323 | 331 | ] |
324 | 332 | }, |
325 | 333 | "nullableOfVersioningMode": { |
326 | | - "description": "The versioning mode for this branch. Can be \u0027ContinuousDelivery\u0027, \u0027ContinuousDeployment\u0027, \u0027Mainline\u0027.", |
| 334 | + "description": "The versioning mode for this branch. Can be 'ContinuousDelivery', 'ContinuousDeployment', 'Mainline'.", |
327 | 335 | "enum": [ |
328 | 336 | "ContinuousDelivery", |
329 | 337 | "ContinuousDeployment", |
|
0 commit comments