From cfd6c0d41ef2235ab0123683e21f449256df968e Mon Sep 17 00:00:00 2001 From: Brett Hewitson Date: Wed, 21 Dec 2022 20:45:28 +1000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- .azure/pipelines/azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure/pipelines/azure-pipelines.yml b/.azure/pipelines/azure-pipelines.yml index a95b55dd..a545a562 100644 --- a/.azure/pipelines/azure-pipelines.yml +++ b/.azure/pipelines/azure-pipelines.yml @@ -83,10 +83,10 @@ stages: inputs: targetType: 'inline' script: | - $appVersion = $(Build.BuildNumber) + $appVersion = $env:BUILD_BUILDNUMBER $appVersionShort = $appVersion.Substring(0, $appVersion.LastIndexOf('.')) $appVersionWithUnderscores = $appVersion.Replace('.', '_') - $publishPath = $(Build.ArtifactStagingDirectory)\bin + $publishPath = $env:BUILD_ARTIFACTSTAGINGDIRECTORY\bin $installTextFile = '.azure/scripts/Installer.txt' $installTextFileContent = @"