[Backport] Reformat release notes generation (#3759)

This PR backports small reformatting of the release notes templates.
This commit is contained in:
Egor_P authored and GitHub committed 2024-03-21 09:00:40 +00:00
1 parent 7b6b061e32
commit 75074952a8
2 files changed
+3 -4

No files matched your search

+2 -4
View File
@@ -1,11 +1,9 @@
## Release {{ env.PRODUCT }} {{ env.VERSION }}
Changelog for `{{ env.TARGET_AUDIENCE }}`.
### Changelog for `{{ env.TARGET_AUDIENCE }}`
{% for file in prdoc -%}
#### PR #{{file.doc_filename.number}}: {{ file.content.title }}
{% for doc_item in file.content.doc %}
{%- if doc_item.audience == env.TARGET_AUDIENCE %}
#### [#{{file.doc_filename.number}}]: {{ file.content.title }}
{{ doc_item.description }}
{% endif -%}