From 5959fab498151ddcce1692e1fb5a97088668c993 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Mon, 31 Jan 2022 18:17:26 +0530 Subject: [PATCH] Fix setting stability in Add-Extension on Windows --- src/scripts/extensions/add_extensions.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/extensions/add_extensions.ps1 b/src/scripts/extensions/add_extensions.ps1 index 96c2090b..e4b60e1c 100644 --- a/src/scripts/extensions/add_extensions.ps1 +++ b/src/scripts/extensions/add_extensions.ps1 @@ -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' }