fix regex

This commit is contained in:
Andrew Welker
2020-11-24 16:26:07 -07:00
parent f154ce2385
commit dd48147fdb

View File

@@ -13,7 +13,7 @@ switch -regex ($Env:GITHUB_REF) {
$phase = 'alpha' $phase = 'alpha'
$newVersionString = "{0}-{1}-{2}" -f $newVersion, $phase, $Env:GITHUB_RUN_NUMBER $newVersionString = "{0}-{1}-{2}" -f $newVersion, $phase, $Env:GITHUB_RUN_NUMBER
} }
'^refs\/heads\/development-2.0.0' { 'development-2.0.0' {
$phase = 'beta' $phase = 'beta'
$newVersionString = "{0}-{1}-{2}" -f $newVersion, $phase, $Env:GITHUB_RUN_NUMBER $newVersionString = "{0}-{1}-{2}" -f $newVersion, $phase, $Env:GITHUB_RUN_NUMBER
} }