Skip to content

Commit 3a31e96

Browse files
committed
Add support to build with stable 8.5.0
1 parent 2b537c4 commit 3a31e96

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

extension-matrix/config/vs.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
"8.5": {
5353
"vs": "2022",
5454
"os": "windows-2022",
55-
"dev": true,
5655
"type": "github-hosted"
5756
},
5857
"master": {

extension/BuildPhpExtension/private/Get-PhpBuildDetails.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function Get-PhpBuildDetails {
1717
$baseUrl = $fallbackBaseUrl = "https://github.com/shivammathur/php-builder-windows/releases/download/master"
1818
$PhpSemver = 'master'
1919
} else {
20-
$releaseState = if ($Config.php_version -match "[a-z]" -or $Config.php_version -eq '8.5') {"qa"} else {"releases"}
20+
$releaseState = if ($Config.php_version -match "[a-z]") {"qa"} else {"releases"}
2121
$baseUrl = "https://downloads.php.net/~windows/$releaseState"
2222
$fallbackBaseUrl = "https://downloads.php.net/~windows/$releaseState/archives"
2323
$releases = Get-File -Url "$baseUrl/releases.json" | ConvertFrom-Json

php/BuildPhp/private/Get-PhpBuild.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function Get-PhpBuild {
4545
$fallbackBaseUrl = $baseUrl = "https://github.com/shivammathur/php-builder-windows/releases/download/master"
4646
$versionInUrl = "master"
4747
} else {
48-
$releaseState = if ($PhpVersion -match "[a-z]" -or $PhpVersion -eq '8.5') {"qa"} else {"releases"}
48+
$releaseState = if ($PhpVersion -match "[a-z]") {"qa"} else {"releases"}
4949
$baseUrl = "https://downloads.php.net/~windows/$releaseState"
5050
$fallbackBaseUrl = "https://downloads.php.net/~windows/$releaseState/archives"
5151
}

php/BuildPhp/private/Get-PhpTestPack.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function Get-PhpTestPack {
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]" -or $PhpVersion -eq '8.5') {"qa"} else {"releases"}
30+
$releaseState = if ($PhpVersion -match "[a-z]") {"qa"} else {"releases"}
3131
$baseUrl = "https://downloads.php.net/~windows/$releaseState"
3232
$fallbackBaseUrl = "https://downloads.php.net/~windows/$releaseState/archives"
3333
}

0 commit comments

Comments
 (0)