From 234fe3a3fd8907efd65070407ed1e785e4d2c41c Mon Sep 17 00:00:00 2001 From: Brett Hewitson Date: Thu, 22 Dec 2022 19:15:48 +1000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- .azure/pipelines/azure-pipelines.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.azure/pipelines/azure-pipelines.yml b/.azure/pipelines/azure-pipelines.yml index a3e9ea67..c5552d73 100644 --- a/.azure/pipelines/azure-pipelines.yml +++ b/.azure/pipelines/azure-pipelines.yml @@ -172,9 +172,7 @@ stages: inputs: targetType: 'inline' script: | - $appVersion = $env:BUILD_BUILDNUMBER - $appVersionShort = $appVersion.Substring(0, $appVersion.LastIndexOf('.')) - $appVersionWithUnderscores = $appVersion.Replace('.', '_') + $appVersionWithUnderscores = $env:BUILD_BUILDNUMBER.Replace('.', '_') $sourcePath = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/Application Files/ARK Server Manager_$appVersionWithUnderscores" $zipFile = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/latest.zip"