You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/NerdBank.GitVersioning/version.schema.json
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@
119
119
},
120
120
"publicReleaseRefSpec": {
121
121
"type": "array",
122
-
"description": "An array of regular expressions that may match a ref (branch or tag) that should be built with PublicRelease=true as the default value. The ref matched against is in its canonical form (e.g. refs/heads/master)",
122
+
"description": "An array of regular expressions that may match a ref (branch or tag) that should be built with PublicRelease=true as the default value. The ref matched against is in its canonical form (e.g. refs/heads/master).",
123
123
"items": {
124
124
"type": "string",
125
125
"format": "regex"
@@ -128,12 +128,12 @@
128
128
},
129
129
"cloudBuild": {
130
130
"type": "object",
131
-
"description": "Options that are applicable specifically to cloud builds (e.g. VSTS, AppVeyor, TeamCity)",
131
+
"description": "Options that are applicable specifically to cloud builds (e.g. VSTS, AppVeyor, TeamCity).",
132
132
"properties": {
133
133
"setAllVariables": {
134
134
"type": "boolean",
135
135
"default": false,
136
-
"description": "Elevates all build properties to cloud build variables prefaced with \"NBGV_\""
136
+
"description": "Elevates all build properties to cloud build variables prefaced with \"NBGV_\"."
137
137
},
138
138
"setVersionVariables": {
139
139
"type": "boolean",
@@ -172,13 +172,19 @@
172
172
}
173
173
},
174
174
"release": {
175
-
"description": "Settings for the prepare-release command",
175
+
"description": "Settings for the prepare-release and tag commands.",
176
176
"type": "object",
177
177
"properties": {
178
+
"tagName": {
179
+
"description": "Defines the format of tag names. Format must include a placeholder '{version}' for the version.",
180
+
"type": "string",
181
+
"pattern": "\\{version\\}",
182
+
"default": "v{version}"
183
+
},
178
184
"branchName": {
179
185
"description": "Defines the format of release branch names. Format must include a placeholder '{version}' for the version.",
180
186
"type": "string",
181
-
"pattern": ".*\\{version\\}.*",
187
+
"pattern": "\\{version\\}",
182
188
"default": "v{version}"
183
189
},
184
190
"versionIncrement": {
@@ -195,12 +201,6 @@
195
201
},
196
202
"additionalProperties": false
197
203
},
198
-
"tagName": {
199
-
"description": "Defines the format of tag names. Format must include a placeholder '{version}' for the version.",
200
-
"type": "string",
201
-
"pattern": ".*\\{version\\}.*",
202
-
"default": "v{version}"
203
-
},
204
204
"pathFilters": {
205
205
"type": "array",
206
206
"description": "An array of pathspec-like strings that are used to filter commits when calculating the version height. A commit will not increment the version height if its changed files are not included by these filters.\nPaths are relative to this file. Paths relative to the root of the repository can be specified with the `:/` prefix.\nExclusions can be specified with a `:^` prefix for relative paths, or a `:^/` prefix for paths relative to the root of the repository.\nAfter a path matches any non-exclude filter, it will be run through all exclude filters. If it matches, the path is ignored.",
0 commit comments