print ref from inside script

This commit is contained in:
Andrew Welker 2020-11-24 16:19:05 -07:00
parent 243643d5c0
commit 0c87ca58ee
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,8 @@ $newVersion = [version]$latestVersion
$phase = ""
$newVersionString = ""
Write-Host "GITHUB_REF: $($Env:GITHUB_REF)"
switch -regex ($Env:GITHUB_REF) {
'^refs\/pull\/*.' {
$phase = 'beta';