mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 20:47:04 +00:00
change phase for PR triggered builds to beta
This commit is contained in:
parent
9dbfd9bcae
commit
d2e4be162d
1 changed files with 1 additions and 2 deletions
|
|
@ -6,8 +6,7 @@ $newVersionString = ""
|
|||
|
||||
switch -regex ($Env:GITHUB_REF) {
|
||||
'^refs\/pull\/*.' {
|
||||
$splitRef = $Env:GITHUB_REF -split "/"
|
||||
$phase = "pr$($splitRef[2])"
|
||||
$phase = 'beta';
|
||||
$newVersionString = "{0}-{1}-{2}" -f $newVersion, $phase, $Env:GITHUB_RUN_NUMBER
|
||||
}
|
||||
'^refs\/heads\/feature-2.0.0\/*.' {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue