Skip to content

Commit

Permalink
Merge pull request #158 from creative-commoners/pulls/1.14/prefer-low…
Browse files Browse the repository at this point in the history
…est-rc

FIX Case insensitive match pre-stable versions
  • Loading branch information
GuySartorelli authored Oct 22, 2024
2 parents 6599159 + 371b29a commit 65e94fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 65e94fc

Please sign in to comment.