Skip to content

Commit

Permalink
Allow bin/bumpReleases to work with new major versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sgolemon committed Jan 7, 2021
1 parent 527e1f4 commit f4dfa85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/bumpRelease
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if (is_bool($info["announcement"]) && $info["announcement"]) {

$OLDRELEASES[$major] = array_merge(
array($version => $info),
$OLDRELEASES[$major]
$OLDRELEASES[$major] ?? []
);

file_put_contents(__DIR__ . "/../include/releases.inc", [
Expand Down

0 comments on commit f4dfa85

Please sign in to comment.