Revert bumping PHP version for snapshot minimum stability.

This commit is contained in:
Shivam Mathur 2023-12-24 02:21:23 +05:30
parent 5a2bd88cb3
commit 97e0a9729a
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -125,9 +125,9 @@ Function Add-Extension {
if(($version -match $nightly_versions) -and (Select-String -Path $src\configs\windows_extensions -Pattern $extension -SimpleMatch -Quiet)) { if(($version -match $nightly_versions) -and (Select-String -Path $src\configs\windows_extensions -Pattern $extension -SimpleMatch -Quiet)) {
Add-NightlyExtension $extension Add-NightlyExtension $extension
} else { } else {
# Patch till DLLs for PHP 8.2 and above are released as stable. # Patch till DLLs for PHP 8.1 and above are released as stable.
$minimumStability = $stability $minimumStability = $stability
if ($version -match '8.[2-4]' -and $stability -eq 'stable') { if ($version -match '8.[1-4]' -and $stability -eq 'stable') {
$minimumStability = 'snapshot' $minimumStability = 'snapshot'
} }