Skip to content

Commit 84abad9

Browse files
brianseedersmridula-s109
authored andcommitted
[release-notes] Move 'coming' applies_to to the correct spot
1 parent 43731ce commit 84abad9

File tree

1 file changed

+8
-7
lines changed
  • build-tools-internal/src/main/resources/templates

1 file changed

+8
-7
lines changed

build-tools-internal/src/main/resources/templates/index.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,17 @@ for(bundle in changelogBundles) {
2828
def nonNotableHighlights = bundle.nonNotableHighlights
2929
def unqualifiedVersion = bundle.unqualifiedVersion
3030
def coming = !bundle.bundle.released
31-
32-
if (coming) {
33-
print "\n"
34-
print "```{applies_to}\n"
35-
print "stack: coming ${version}\n"
36-
print "```"
37-
}
3831
%>
3932
## ${unqualifiedVersion} [elasticsearch-${versionForIds}-release-notes]
4033
<%
34+
35+
if (coming) {
36+
print "```{applies_to}\n"
37+
print "stack: coming ${version}\n"
38+
print "```"
39+
print "\n"
40+
}
41+
4142
if (!notableHighlights.isEmpty() || !nonNotableHighlights.isEmpty()) {
4243
print "\n### Highlights [elasticsearch-${versionForIds}-highlights]\n"
4344
}

0 commit comments

Comments
 (0)