From 371b29a1257a09869ab8e910e9ffb5c658f4c88d Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Fri, 18 Oct 2024 10:31:10 +1300 Subject: [PATCH] FIX Case insensitive match pre-stable versions --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fdf20bd..c8cb452 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -629,7 +629,7 @@ jobs: if (strpos($v, "^") === 0) { $v = str_replace("^", "", $v) . ".x-dev"; # Remove @beta, @rc, or @alpha if they are there - $v = preg_replace("/@(alpha|beta|rc)/", "", $v); + $v = preg_replace("/@(alpha|beta|rc)/i", "", $v); } $j->require->{"silverstripe/installer"} = $v; $c = json_encode($j, JSON_PRETTY_PRINT + JSON_UNESCAPED_SLASHES);