Skip to content

Commit f16f289

Browse files
committed
Revert work-around in build_docs.pl
1 parent ab5a3ea commit f16f289

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

build_docs.pl

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -408,18 +408,7 @@ sub check_kibana_links {
408408
#
409409
# TODO: remove as part of
410410
# https://github.com/elastic/docs/issues/2264
411-
if ($version eq "master") {
412-
$branch = "main";
413-
}
414-
else {
415-
# Temporary work-around for 8.x branch masquerading as 8.16
416-
if ($version eq "8.16") {
417-
$branch = "8.x";
418-
}
419-
else {
420-
$branch = $version;
421-
}
422-
}
411+
$branch = $version eq "master" ? "main" : $version;
423412
say " Branch: $branch, Version: $version";
424413
my $links_file;
425414
my $source = eval {

0 commit comments

Comments
 (0)