Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Brett Hewitson 2022-12-22 19:15:48 +10:00
parent 1dd0fbee84
commit 234fe3a3fd

View file

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