|
129 | 129 | "prevent-increment-of-merged-branch-version": {
|
130 | 130 | "$ref": "#/$defs/nullableOfBoolean2"
|
131 | 131 | },
|
| 132 | + "prevent-increment-when-current-commit-tagged": { |
| 133 | + "$ref": "#/$defs/nullableOfBoolean3" |
| 134 | + }, |
132 | 135 | "regex": {
|
133 | 136 | "$ref": "#/$defs/string2"
|
134 | 137 | },
|
|
157 | 160 | ]
|
158 | 161 | },
|
159 | 162 | "track-merge-message": {
|
160 |
| - "$ref": "#/$defs/nullableOfBoolean3" |
| 163 | + "$ref": "#/$defs/nullableOfBoolean4" |
161 | 164 | },
|
162 | 165 | "track-merge-target": {
|
163 |
| - "$ref": "#/$defs/nullableOfBoolean4" |
| 166 | + "$ref": "#/$defs/nullableOfBoolean5" |
164 | 167 | },
|
165 | 168 | "tracks-release-branches": {
|
166 |
| - "$ref": "#/$defs/nullableOfBoolean5" |
| 169 | + "$ref": "#/$defs/nullableOfBoolean6" |
167 | 170 | },
|
168 | 171 | "update-build-number": {
|
169 | 172 | "description": "Whether to update the build number in the project file. Defaults to true.",
|
|
176 | 179 | "default": "(?<version>[vV]?\\d+(\\.\\d+)?(\\.\\d+)?).*",
|
177 | 180 | "type": "string"
|
178 | 181 | },
|
| 182 | + "strategies": { |
| 183 | + "description": "Specifies which version strategies (one or more) will be used to determine the next version. Following values are available: 'ConfiguredNextVersion', 'MergeMessage', 'TaggedCommit', 'TrackReleaseBranches', 'VersionInBranchName' and 'TrunkBased'.", |
| 184 | + "type": "array", |
| 185 | + "items": { |
| 186 | + "description": "Specifies which version strategies (one or more) will be used to determine the next version. Following values are available: 'ConfiguredNextVersion', 'MergeMessage', 'TaggedCommit', 'TrackReleaseBranches', 'VersionInBranchName' and 'TrunkBased'.", |
| 187 | + "enum": [ |
| 188 | + "None", |
| 189 | + "ConfiguredNextVersion", |
| 190 | + "MergeMessage", |
| 191 | + "TaggedCommit", |
| 192 | + "TrackReleaseBranches", |
| 193 | + "VersionInBranchName", |
| 194 | + "TrunkBased" |
| 195 | + ] |
| 196 | + } |
| 197 | + }, |
179 | 198 | "workflow": {
|
180 | 199 | "description": "The base template of the configuration to use. Possible values are: 'GitFlow/v1' or 'GitHubFlow/v1'",
|
181 | 200 | "type": "string"
|
|
215 | 234 | "prevent-increment-of-merged-branch-version": {
|
216 | 235 | "$ref": "#/$defs/nullableOfBoolean2"
|
217 | 236 | },
|
| 237 | + "prevent-increment-when-current-commit-tagged": { |
| 238 | + "$ref": "#/$defs/nullableOfBoolean3" |
| 239 | + }, |
218 | 240 | "regex": {
|
219 | 241 | "$ref": "#/$defs/string2"
|
220 | 242 | },
|
221 | 243 | "source-branches": {
|
222 | 244 | "$ref": "#/$defs/hashSetOfString1"
|
223 | 245 | },
|
224 | 246 | "track-merge-message": {
|
225 |
| - "$ref": "#/$defs/nullableOfBoolean3" |
| 247 | + "$ref": "#/$defs/nullableOfBoolean4" |
226 | 248 | },
|
227 | 249 | "track-merge-target": {
|
228 |
| - "$ref": "#/$defs/nullableOfBoolean4" |
| 250 | + "$ref": "#/$defs/nullableOfBoolean5" |
229 | 251 | },
|
230 | 252 | "tracks-release-branches": {
|
231 |
| - "$ref": "#/$defs/nullableOfBoolean5" |
| 253 | + "$ref": "#/$defs/nullableOfBoolean6" |
232 | 254 | }
|
233 | 255 | }
|
234 | 256 | },
|
|
245 | 267 | "enum": [
|
246 | 268 | "ManualDeployment",
|
247 | 269 | "ContinuousDelivery",
|
248 |
| - "ContinuousDeployment", |
249 |
| - "TrunkBased" |
| 270 | + "ContinuousDeployment" |
250 | 271 | ]
|
251 | 272 | },
|
252 | 273 | "incrementStrategy": {
|
|
305 | 326 | "null"
|
306 | 327 | ]
|
307 | 328 | },
|
| 329 | + "nullableOfBoolean3": { |
| 330 | + "description": "This branch related property controls the behvior whether to use the tagged (value set to true) or the incremented (value set to false) semantic version. Defaults to true.", |
| 331 | + "type": [ |
| 332 | + "boolean", |
| 333 | + "null" |
| 334 | + ] |
| 335 | + }, |
308 | 336 | "string2": {
|
309 | 337 | "format": "regex",
|
310 | 338 | "description": "The regular expression pattern to use to match this branch.",
|
|
318 | 346 | "type": "string"
|
319 | 347 | }
|
320 | 348 | },
|
321 |
| - "nullableOfBoolean3": { |
| 349 | + "nullableOfBoolean4": { |
322 | 350 | "description": "This property is a branch related property and gives the user the possibility to control the behavior of whether the merge commit message will be interpreted as a next version or not.",
|
323 | 351 | "type": [
|
324 | 352 | "boolean",
|
325 | 353 | "null"
|
326 | 354 | ]
|
327 | 355 | },
|
328 |
| - "nullableOfBoolean4": { |
| 356 | + "nullableOfBoolean5": { |
329 | 357 | "description": "Strategy which will look for tagged merge commits directly off the current branch.",
|
330 | 358 | "type": [
|
331 | 359 | "boolean",
|
332 | 360 | "null"
|
333 | 361 | ]
|
334 | 362 | },
|
335 |
| - "nullableOfBoolean5": { |
| 363 | + "nullableOfBoolean6": { |
336 | 364 | "description": "Indicates this branch configuration represents develop in GitFlow.",
|
337 | 365 | "type": [
|
338 | 366 | "boolean",
|
|
0 commit comments