mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 12:27:56 +00:00
Fix release notes templates (#6697)
* WIP * Fix templates - fix conditions to fetch misc PRs - render the misc section only if required - add html comment to help debugging - add a new API section to T2 labels
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{% import "change.md.tera" as m_c -%}
|
||||
### API
|
||||
|
||||
{#- The changes are sorted by merge date #}
|
||||
{%- for pr in changes | sort(attribute="merged_at") %}
|
||||
|
||||
{%- if pr.meta.B %}
|
||||
{%- if pr.meta.B.value == 0 %}
|
||||
{#- We skip silent ones -#}
|
||||
{%- else -%}
|
||||
|
||||
{%- if pr.meta.T and pr.meta.T.value == 2 and not pr.title is containing("ompanion") %}
|
||||
- {{ m_c::change(c=pr) }}
|
||||
{%- else %}
|
||||
<!-- EXCLUDED PR#{{pr.number}} - {{pr.html_url}} -->
|
||||
{%- endif -%}
|
||||
{% endif -%}
|
||||
{% endif -%}
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user