mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
print ref from inside script
This commit is contained in:
parent
243643d5c0
commit
0c87ca58ee
2 changed files with 2 additions and 1 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue