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"