Merge pull request #515 from PepperDash/feature-2.0.0/update-workflows-for-2.0.0

fix regex
This commit is contained in:
Andrew Welker 2020-11-24 16:41:24 -07:00 committed by GitHub
commit 2fd2b6787f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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