Skip to content

Commit

Permalink
Fix nbgv versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
skylarnam committed Feb 27, 2023
1 parent 125202f commit 9981912
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ parameters:
BuildConfiguration: Release

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: UseDotNet@2
displayName: 'Install .NET Core SDK'
inputs:
Expand Down

0 comments on commit 9981912

Please sign in to comment.