Skip to content

Commit

Permalink
Disable default, redundant NB.GV behavior
Browse files Browse the repository at this point in the history
We already call `nbgv cloud` in the cloud builds, so there is no need to set certain pipeline variables with every project.
In fact given a couple bugs that have come into NB.GV lately around issues on [AzP](dotnet/Nerdbank.GitVersioning#675) or [GitHub Actions](dotnet/Nerdbank.GitVersioning#683) around setting pipeline variables, this should improve build reliability.
  • Loading branch information
AArnott committed Nov 2, 2021
1 parent 16c3bad commit ab053bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion version.json
Expand Up @@ -4,5 +4,8 @@
"publicReleaseRefSpec": [
"^refs/heads/main$",
"^refs/heads/v\\d+(?:\\.\\d+)?$"
]
],
"cloudBuild": {
"setVersionVariables": false
}
}

0 comments on commit ab053bb

Please sign in to comment.