diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b16d9d3..8fb4911 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);