[release-notes] Move 'coming' applies_to to the correct spot

This commit is contained in:
Brian Seeders 2025-06-02 10:36:10 -04:00
parent 9b2252afb2
commit 40b486a6b9
No known key found for this signature in database
GPG key ID: 9E3CEF9108510E88

View file

@ -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"
}