From 342eecbb832c917602d5f98417e3c078a637f300 Mon Sep 17 00:00:00 2001 From: Brett Hewitson Date: Thu, 29 Dec 2022 19:47:06 +1000 Subject: [PATCH] pipeline file changes --- .azure/pipelines/azure-pipelines-discordplugin-build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.azure/pipelines/azure-pipelines-discordplugin-build.yml b/.azure/pipelines/azure-pipelines-discordplugin-build.yml index 2ec5be2a..395472ef 100644 --- a/.azure/pipelines/azure-pipelines-discordplugin-build.yml +++ b/.azure/pipelines/azure-pipelines-discordplugin-build.yml @@ -109,11 +109,9 @@ stages: script: | $appVersion = $env:BUILD_BUILDNUMBER $appVersionShort = $appVersion.Substring(0, $appVersion.LastIndexOf('.')) - $appVersionWithUnderscores = $appVersion.Replace('.', '_') - $applicationFolderName = "${{parameters.ApplicationName}}_$($appVersionWithUnderscores)" - $sourcePath = "$env:BUILD_BINARIESDIRECTORY/Application Files/$applicationFolderName" - $zipFile = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/${{parameters.ApplicationName}}_$($appVersionShort).zip" + $sourcePath = "$env:BUILD_BINARIESDIRECTORY" + $zipFile = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/ServerManager.${{parameters.ApplicationName}}_$($appVersionShort).zip" Add-Type -Assembly System.IO.Compression.FileSystem $compressionLevel = [System.IO.Compression.CompressionLevel]::Optimal