Skip to content

Commit

Permalink
Set cloud build number to SemVer1
Browse files Browse the repository at this point in the history
  • Loading branch information
heaths committed Aug 4, 2019
1 parent 0f58b5c commit a1d3024
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions build/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ parameters:
Sign: false

steps:
- powershell: |
dotnet tool install --tool-path "${env:AGENT_TOOLSDIRECTORY}\nbgv" nbgv
$version = & "${env:AGENT_TOOLSDIRECTORY}\nbgv\nbgv.exe" get-version --variable SemVer1
& "${env:AGENT_TOOLSDIRECTORY}\nbgv\nbgv.exe" cloud --version $version
displayName: Set cloud build version

- task: NuGetToolInstaller@0
displayName: Install nuget
inputs:
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"cloudBuild": {
"setAllVariables": true,
"buildNumber": {
"enabled": true
"enabled": false
}
}
}

0 comments on commit a1d3024

Please sign in to comment.