Fix setting stability in Add-Extension on Windows

This commit is contained in:
Shivam Mathur 2022-01-31 18:17:26 +05:30
parent 408b70728f
commit 5959fab498
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -61,7 +61,7 @@ Function Add-Extension {
}
else {
# Patch till PHP 8.1 DLLs are released as stable.
$minimumStability = 'stable'
$minimumStability = $stability
if($version -eq '8.1' -and $stability -eq 'stable') {
$minimumStability = 'snapshot'
}