pipeline file changes

This commit is contained in:
Brett Hewitson 2022-12-29 19:55:12 +10:00
parent 342eecbb83
commit 407168682c
3 changed files with 26 additions and 9 deletions

View file

@ -141,7 +141,6 @@ stages:
script: |
$appVersion = $env:BUILD_BUILDNUMBER
$appVersionShort = $appVersion.Substring(0, $appVersion.LastIndexOf('.'))
$appVersionWithUnderscores = $appVersion.Replace('.', '_')
$versionFile = "$env:BUILD_ARTIFACTSTAGINGDIRECTORY/latest.txt"
$AppVersionShort | Set-Content "$versionFile"