Skip to content

Commit

Permalink
Leave work-around in build_docs.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Oct 17, 2024
1 parent 517fa52 commit 0b993ab
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion build_docs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,18 @@ sub check_kibana_links {
#
# TODO: remove as part of
# https://github.com/elastic/docs/issues/2264
$branch = $version eq "master" ? "main" : $version;
if ($version eq "master") {
$branch = "main";
}
else {
# Temporary work-around for 8.x branch masquerading as 8.16
if ($version eq "8.16") {
$branch = "8.x";
}
else {
$branch = $version;
}
}
say " Branch: $branch, Version: $version";
my $links_file;
my $source = eval {
Expand Down

0 comments on commit 0b993ab

Please sign in to comment.