Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions include/branches.inc
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ $BRANCHES = [
'stable' => '2018-01-04',
'security' => '2019-01-10',
],
'8.4' => [
'date' => '2024-11-21',
],
];

/* Time to keep EOLed branches in the array returned by get_active_branches(),
Expand Down Expand Up @@ -254,6 +257,10 @@ function get_initial_release($branch) {
return $GLOBALS['OLDRELEASES'][$major]["$branch.0"];
}

if(isset($GLOBALS['BRANCHES'][$branch])) {
return $GLOBALS['BRANCHES'][$branch];
}

/* If there's only been one release on the branch, it won't be in
* $OLDRELEASES yet, so let's check $RELEASES. */
if (isset($GLOBALS['RELEASES'][$major]["$branch.0"])) {
Expand Down