Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Brett Hewitson 2022-12-21 20:45:28 +10:00
parent 94a4da1f39
commit cfd6c0d41e

View file

@ -83,10 +83,10 @@ stages:
inputs:
targetType: 'inline'
script: |
$appVersion = $(Build.BuildNumber)
$appVersion = $env:BUILD_BUILDNUMBER
$appVersionShort = $appVersion.Substring(0, $appVersion.LastIndexOf('.'))
$appVersionWithUnderscores = $appVersion.Replace('.', '_')
$publishPath = $(Build.ArtifactStagingDirectory)\bin
$publishPath = $env:BUILD_ARTIFACTSTAGINGDIRECTORY\bin
$installTextFile = '.azure/scripts/Installer.txt'
$installTextFileContent = @"