From d3882c6cb0b4204bd2e4413f0899d1d06add2ae9 Mon Sep 17 00:00:00 2001 From: Jamie Date: Fri, 17 Jan 2020 15:55:59 +0000 Subject: [PATCH] Update ci-build.yaml for Azure Pipelines --- ci-build.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/ci-build.yaml b/ci-build.yaml index 734b8d4fc..409bbcfbe 100644 --- a/ci-build.yaml +++ b/ci-build.yaml @@ -34,16 +34,12 @@ steps: $response = Invoke-WebRequest -Uri "https://ombireleasenote.azurewebsites.net/api/ReleaseNotesFunction?buildId=$(Build.BuildId)" Write-Host "##vso[task.setvariable variable=ReleaseNotes;]$response" -- task: DotNetCoreCLI@2 - inputs: - command: 'custom' - custom: 'tool install' - arguments: '-g dotnet-setversion' - - task: PowerShell@2 inputs: targetType: 'inline' - script: 'setversion -r $(gitTag)' + script: | + dotnet tool install -g dotnet-setversion + setversion -r $(gitTag) - task: Yarn@3 displayName: 'Install UI Dependancies'