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 = @"