Skip to content

Commit 3cdddd0

Browse files
authored
Update Get-PhpTestPack.ps1
1 parent 1078e14 commit 3cdddd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php/BuildPhp/private/Get-PhpTestPack.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ function Get-PhpTestPack {
2323
Add-Type -Assembly "System.IO.Compression.Filesystem"
2424

2525
$versionInUrl = $PhpVersion
26-
if($PhpVersion -eq 'master' -or $PhpVersion -eq '8.5') {
26+
if($PhpVersion -eq 'master') {
2727
$fallbackBaseUrl = $baseUrl = "https://github.com/shivammathur/php-builder-windows/releases/download/master"
2828
$versionInUrl = "master"
2929
} else {
30-
$releaseState = if ($PhpVersion -match "[a-z]") {"qa"} else {"releases"}
30+
$releaseState = if ($PhpVersion -match "[a-z]" -or $PhpVersion -eq '8.5') {"qa"} else {"releases"}
3131
$baseUrl = "https://files.ospanel.io/~windows/$releaseState"
3232
$fallbackBaseUrl = "https://files.ospanel.io/~windows/$releaseState/archives"
3333
}

0 commit comments

Comments
 (0)