From 40b486a6b991501a494baf62c08242f2065eb1e8 Mon Sep 17 00:00:00 2001 From: Brian Seeders Date: Mon, 2 Jun 2025 10:36:10 -0400 Subject: [PATCH] [release-notes] Move 'coming' applies_to to the correct spot --- .../src/main/resources/templates/index.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/build-tools-internal/src/main/resources/templates/index.md b/build-tools-internal/src/main/resources/templates/index.md index cb417eb49dc6..859f25d4a60d 100644 --- a/build-tools-internal/src/main/resources/templates/index.md +++ b/build-tools-internal/src/main/resources/templates/index.md @@ -28,16 +28,17 @@ for(bundle in changelogBundles) { def nonNotableHighlights = bundle.nonNotableHighlights def unqualifiedVersion = bundle.unqualifiedVersion def coming = !bundle.bundle.released - - if (coming) { - print "\n" - print "```{applies_to}\n" - print "stack: coming ${version}\n" - print "```" - } %> ## ${unqualifiedVersion} [elasticsearch-${versionForIds}-release-notes] <% + +if (coming) { + print "```{applies_to}\n" + print "stack: coming ${version}\n" + print "```" + print "\n" +} + if (!notableHighlights.isEmpty() || !nonNotableHighlights.isEmpty()) { print "\n### Highlights [elasticsearch-${versionForIds}-highlights]\n" }