Skip to content

Commit 479f648

Browse files
committed
Update bumpRelease with class equivilents
1 parent 7253294 commit 479f648

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bin/bumpRelease

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ if ($_SERVER['argc'] < 1) {
1212
exit(1);
1313
}
1414

15+
$RELEASES = Branches::getReleaseData();
1516
$major = (int) $_SERVER['argv'][1];
1617
isset($RELEASES[$major]) or die("Unknown major version $major");
1718
$minor = isset($_SERVER['argv'][2]) ? (int) $_SERVER['argv'][2] : null;
@@ -29,6 +30,7 @@ if ($info["announcement"] === true) {
2930
$info["announcement"] = array("English" => "/releases/" . str_replace(".", "_", $version) . ".php");
3031
}
3132

33+
$OLDRELEASES = Branches::getOldReleaseData();
3234
$OLDRELEASES[$major] = array_merge(
3335
array($version => $info),
3436
$OLDRELEASES[$major] ?? []

0 commit comments

Comments
 (0)