-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathversion.json
More file actions
24 lines (23 loc) · 838 Bytes
/
version.json
File metadata and controls
24 lines (23 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json",
"version": "1.3",
"versionHeightOffset": 0,
"pathFilters": ["cs", "ts", "./"],
"publicReleaseRefSpec": [
"^refs/heads/main$", // we release out of main
"^refs/heads/v\\d+(?:.\\d+)?$", // we also release out of vNN branches
"^refs/heads/releases/.+$" // weekly release branches
],
"cloudBuild": {
"setVersionVariables": true,
"buildNumber": {
"enabled": true,
"includeCommitId": {
"when": "nonPublicReleaseOnly",
// Tell NB.GV to create a build revision from the commit id.
// Using buildMetadata inserts "+commitId", and the "+" character is invalid in the docker image tag
"where": "fourthVersionComponent"
}
}
}
}