Skip to content
Snippets Groups Projects
Unverified Commit 75074952 authored by Egor_P's avatar Egor_P Committed by GitHub
Browse files

[Backport] Reformat release notes generation (#3759)

This PR backports small reformatting of the release notes templates.
parent 7b6b061e
No related merge requests found
Pipeline #457345 failed with stages
in 1 hour, 24 minutes, and 43 seconds
......@@ -48,6 +48,7 @@ for audience in "${audiences[@]}"; do
echo "Processing audience: $audience ($audience_id)"
export TARGET_AUDIENCE=$audience
tera -t "${TEMPLATE_AUDIENCE}" --env --env-key env "${CONTEXT_JSON}" > "$OUTPUT/relnote_${audience_id}.md"
cat "$OUTPUT/relnote_${audience_id}.md" >> "$OUTPUT/relnote_combined.md"
done
# Show the files
......
## 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 -%}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment