|
1 | 1 | {
|
2 | 2 | "$schema": "http://json-schema.org/draft-04/schema#",
|
3 |
| - "properties": { |
4 |
| - "AutoStash": { |
5 |
| - "type": "boolean", |
6 |
| - "description": "Indicates if any changes should be stashed automatically prior to switching branch (Default : true)" |
7 |
| - }, |
8 |
| - "ConfigName": { |
9 |
| - "type": "string", |
10 |
| - "description": "Defines the name of the configuration to use to publish packages" |
11 |
| - }, |
12 |
| - "Configuration": { |
13 |
| - "type": "string", |
14 |
| - "description": "Defines the configuration to use when building the application", |
15 |
| - "enum": [ |
16 |
| - "Debug", |
17 |
| - "Release" |
18 |
| - ] |
19 |
| - }, |
20 |
| - "DeleteLocalOnSuccess": { |
21 |
| - "type": "boolean", |
22 |
| - "description": "Should the local branch be deleted after the pull request was created successfully ?" |
23 |
| - }, |
24 |
| - "Description": { |
25 |
| - "type": "string", |
26 |
| - "description": "Description of the pull request" |
27 |
| - }, |
28 |
| - "Draft": { |
29 |
| - "type": "boolean", |
30 |
| - "description": "Indicates to open the pull request as 'draft'" |
31 |
| - }, |
32 |
| - "GitHubToken": { |
33 |
| - "type": "string", |
34 |
| - "description": "Token used to create a new release in GitHub", |
35 |
| - "default": "Secrets must be entered via 'nuke :secrets [profile]'" |
36 |
| - }, |
37 |
| - "IgnoreFailedSources": { |
38 |
| - "type": "boolean", |
39 |
| - "description": "Ignore unreachable sources during Restore" |
40 |
| - }, |
41 |
| - "Issues": { |
42 |
| - "type": "array", |
43 |
| - "description": "Issues that will be closed once the pull request is completed", |
44 |
| - "items": { |
45 |
| - "type": "integer" |
46 |
| - } |
47 |
| - }, |
48 |
| - "Major": { |
49 |
| - "type": "boolean", |
50 |
| - "description": "Hint to create a major release" |
51 |
| - }, |
52 |
| - "Name": { |
53 |
| - "type": "string", |
54 |
| - "description": "Name of the branch to create" |
55 |
| - }, |
56 |
| - "NugetApiKey": { |
57 |
| - "type": "string", |
58 |
| - "description": "Token used to interact with Nuget API", |
59 |
| - "default": "Secrets must be entered via 'nuke :secrets [profile]'" |
60 |
| - }, |
61 |
| - "SkipConfirmation": { |
62 |
| - "type": "boolean", |
63 |
| - "description": "Set to true to not ask any confirmation to the end user (default: false)" |
64 |
| - }, |
65 |
| - "Solution": { |
66 |
| - "type": "string", |
67 |
| - "description": "Path to a solution file that is automatically loaded" |
68 |
| - }, |
69 |
| - "Title": { |
70 |
| - "type": "string", |
71 |
| - "description": "Title that will be used when creating a PR" |
72 |
| - } |
73 |
| - }, |
74 | 3 | "definitions": {
|
75 | 4 | "Host": {
|
76 | 5 | "type": "string",
|
|
176 | 105 | }
|
177 | 106 | }
|
178 | 107 | },
|
179 |
| - "$ref": "#/definitions/NukeBuild" |
| 108 | + "allOf": [ |
| 109 | + { |
| 110 | + "properties": { |
| 111 | + "AutoStash": { |
| 112 | + "type": "boolean", |
| 113 | + "description": "Indicates if any changes should be stashed automatically prior to switching branch (Default : true)" |
| 114 | + }, |
| 115 | + "ConfigName": { |
| 116 | + "type": "string", |
| 117 | + "description": "Defines the name of the configuration to use to publish packages" |
| 118 | + }, |
| 119 | + "Configuration": { |
| 120 | + "type": "string", |
| 121 | + "description": "Defines the configuration to use when building the application", |
| 122 | + "enum": [ |
| 123 | + "Debug", |
| 124 | + "Release" |
| 125 | + ] |
| 126 | + }, |
| 127 | + "DeleteLocalOnSuccess": { |
| 128 | + "type": "boolean", |
| 129 | + "description": "Should the local branch be deleted after the pull request was created successfully ?" |
| 130 | + }, |
| 131 | + "Description": { |
| 132 | + "type": "string", |
| 133 | + "description": "Description of the pull request" |
| 134 | + }, |
| 135 | + "Draft": { |
| 136 | + "type": "boolean", |
| 137 | + "description": "Indicates to open the pull request as 'draft'" |
| 138 | + }, |
| 139 | + "GitHubToken": { |
| 140 | + "type": "string", |
| 141 | + "description": "Token used to create a new release in GitHub", |
| 142 | + "default": "Secrets must be entered via 'nuke :secrets [profile]'" |
| 143 | + }, |
| 144 | + "IgnoreFailedSources": { |
| 145 | + "type": "boolean", |
| 146 | + "description": "Ignore unreachable sources during Restore" |
| 147 | + }, |
| 148 | + "Issues": { |
| 149 | + "type": "array", |
| 150 | + "description": "Issues that will be closed once the pull request is completed", |
| 151 | + "items": { |
| 152 | + "type": "integer" |
| 153 | + } |
| 154 | + }, |
| 155 | + "Major": { |
| 156 | + "type": "boolean", |
| 157 | + "description": "Hint to create a major release" |
| 158 | + }, |
| 159 | + "Name": { |
| 160 | + "type": "string", |
| 161 | + "description": "Name of the branch to create" |
| 162 | + }, |
| 163 | + "NugetApiKey": { |
| 164 | + "type": "string", |
| 165 | + "description": "Token used to interact with Nuget API", |
| 166 | + "default": "Secrets must be entered via 'nuke :secrets [profile]'" |
| 167 | + }, |
| 168 | + "SkipConfirmation": { |
| 169 | + "type": "boolean", |
| 170 | + "description": "Set to true to not ask any confirmation to the end user (default: false)" |
| 171 | + }, |
| 172 | + "Solution": { |
| 173 | + "type": "string", |
| 174 | + "description": "Path to a solution file that is automatically loaded" |
| 175 | + }, |
| 176 | + "Title": { |
| 177 | + "type": "string", |
| 178 | + "description": "Title that will be used when creating a PR" |
| 179 | + } |
| 180 | + } |
| 181 | + }, |
| 182 | + { |
| 183 | + "$ref": "#/definitions/NukeBuild" |
| 184 | + } |
| 185 | + ] |
180 | 186 | }
|
0 commit comments