mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-11 19:44:52 +00:00
change phase for PR triggered builds to beta
This commit is contained in:
@@ -6,8 +6,7 @@ $newVersionString = ""
|
|||||||
|
|
||||||
switch -regex ($Env:GITHUB_REF) {
|
switch -regex ($Env:GITHUB_REF) {
|
||||||
'^refs\/pull\/*.' {
|
'^refs\/pull\/*.' {
|
||||||
$splitRef = $Env:GITHUB_REF -split "/"
|
$phase = 'beta';
|
||||||
$phase = "pr$($splitRef[2])"
|
|
||||||
$newVersionString = "{0}-{1}-{2}" -f $newVersion, $phase, $Env:GITHUB_RUN_NUMBER
|
$newVersionString = "{0}-{1}-{2}" -f $newVersion, $phase, $Env:GITHUB_RUN_NUMBER
|
||||||
}
|
}
|
||||||
'^refs\/heads\/feature-2.0.0\/*.' {
|
'^refs\/heads\/feature-2.0.0\/*.' {
|
||||||
|
|||||||
Reference in New Issue
Block a user