Skip to content

Commit dfd0473

Browse files
committed
Keep relying on the old logic in bumpReleases to avoid exploding the changelog (maybe later).
1 parent 8bac17c commit dfd0473

2 files changed

Lines changed: 2501 additions & 1090 deletions

File tree

bin/bumpRelease

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use phpweb\Releases\Branches;
55

66
(PHP_SAPI === 'cli') or die("Please run this script using the cli sapi");
77

8-
require_once __DIR__ . "/../src/Releases/Branches.php";
8+
require __DIR__ . '/../include/releases.inc';
99

1010
if ($_SERVER['argc'] < 1) {
1111
fwrite(STDERR, "Usage: {$_SERVER['argv'][0]} major_version [ minor_version ]\n");
@@ -30,7 +30,6 @@ if ($info["announcement"] === true) {
3030
$info["announcement"] = array("English" => "/releases/" . str_replace(".", "_", $version) . ".php");
3131
}
3232

33-
$OLDRELEASES = Branches::getOldReleaseData();
3433
$OLDRELEASES[$major] = array_merge(
3534
array($version => $info),
3635
$OLDRELEASES[$major] ?? []

0 commit comments

Comments
 (0)