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
| tagName |`v{version}`| Defines the format of tag names. Format must include a placeholder '{version}' for the version. |
205
+
168
206
## Learn more
169
207
170
208
There are several more sub-commands and switches to each to help you build and maintain your projects, find a commit that built a particular version later on, create tags, etc.
Copy file name to clipboardExpand all lines: src/NerdBank.GitVersioning/version.schema.json
+13-7Lines changed: 13 additions & 7 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
-
"description": "Defines the format of release branch names. Format must include a placeholder '{version}' for the version",
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": {
@@ -188,7 +194,7 @@
188
194
"default": "minor"
189
195
},
190
196
"firstUnstableTag": {
191
-
"description": "Specifies the first/default prerelease tag for new versions",
197
+
"description": "Specifies the first/default prerelease tag for new versions.",
0 commit comments