Skip to content

Commit

Permalink
Merge branch '1.12' into 1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 7, 2024
2 parents bc75912 + 1e2da6c commit add97c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,9 @@ jobs:
php -r '
$j = json_decode(file_get_contents("composer.json"));
$v = $j->require->{"silverstripe/installer"};
$v = str_replace("^", "", $v) . ".x-dev";
if (strpos($v, '^') === 0) {
$v = str_replace("^", "", $v) . ".x-dev";
}
$j->require->{"silverstripe/installer"} = $v;
$c = json_encode($j, JSON_PRETTY_PRINT + JSON_UNESCAPED_SLASHES);
file_put_contents("composer.json", $c);
Expand Down

0 comments on commit add97c1

Please sign in to comment.