[Backport] Reformat release notes generation (#3759)

This PR backports small reformatting of the release notes templates.
This commit is contained in:
Egor_P
2024-03-21 10:00:40 +01:00
committed by GitHub
parent 7b6b061e32
commit 75074952a8
2 changed files with 3 additions and 4 deletions
+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 -%}