From 94f0c96df259e6223440ff029e94df1e6a75b728 Mon Sep 17 00:00:00 2001 From: Jamie Date: Mon, 13 Jan 2020 00:42:39 +0000 Subject: [PATCH] Update ci-build.yaml for Azure Pipelines --- ci-build.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ci-build.yaml b/ci-build.yaml index 2ed5dcf4c..c48feb923 100644 --- a/ci-build.yaml +++ b/ci-build.yaml @@ -27,6 +27,13 @@ pool: vmImage: 'ubuntu-latest' steps: +- task: PowerShell@2 + inputs: + targetType: 'inline' + script: | + $response = Invoke-WebRequest -Uri "https://ombireleasenote.azurewebsites.net/api/ReleaseNotesFunction?buildId=$(Build.BuildId)" + Write-Host "##vso[task.setvariable variable=ReleaseNotes;]$response" + - task: Yarn@3 displayName: 'Install UI Dependancies' inputs: @@ -189,13 +196,6 @@ steps: archiveFile: '$(Build.ArtifactStagingDirectory)/linux-arm64-$(Build.BuildId).tar.gz' replaceExistingArchive: true -- task: PowerShell@2 - inputs: - targetType: 'inline' - script: | - $response = Invoke-WebRequest -Uri "https://ombireleasenote.azurewebsites.net/api/ReleaseNotesFunction?buildId=$(Build.BuildId)", - Write-Host "##vso[task.setvariable variable=ReleaseNotes;]$response" - - task: GitHubRelease@1 inputs: gitHubConnection: 'github.com_tidusjar'