From 74d28eb759f235b60a6fdac10ef9705a989cfbba Mon Sep 17 00:00:00 2001 From: Brett Hewitson Date: Thu, 22 Dec 2022 19:50:04 +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 4b514ede..d1b01551 100644 --- a/.azure/pipelines/azure-pipelines.yml +++ b/.azure/pipelines/azure-pipelines.yml @@ -172,6 +172,8 @@ stages: inputs: targetType: 'inline' script: | + $appVersion = $env:BUILD_BUILDNUMBER + $appVersionWithUnderscores = $appVersion.Replace('.', '_') $fileExtension = '.application' $applicationFiles = Get-ChildItem -Path $env:BUILD_ARTIFACTSTAGINGDIRECTORY -Filter "*$fileExtension" -File -Name @@ -183,8 +185,6 @@ stages: $applicationFolder = "$($applicationFileName)_$($appVersionWithUnderscores)" $applicationFolder - $appVersion = $env:BUILD_BUILDNUMBER - $appVersionWithUnderscores = $appVersion.Replace('.', '_') $sourcePath = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/Application Files/$applicationFolder" $zipFile = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/latest.zip"