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