mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 22:11:02 +00:00
42ceb1c1b1
* Move compiler information below priority information * Show docker section by default * Show a mention even if there are no host functions * Fix the wording for the migrations * Fix some wording * Include free notes section * Fix spacing issue * Rename the free notes template * Few minor changes including reworking the tag rendering
26 lines
715 B
Plaintext
26 lines
715 B
Plaintext
{%- import "change.md.tera" as m_c %}
|
||
{%- set_global runtime_migration_count = 0 -%}
|
||
|
||
## Runtime Migrations
|
||
|
||
{% for pr in changes | sort(attribute="merged_at") -%}
|
||
|
||
{%- if pr.meta.B and pr.meta.B.value == 0 %}
|
||
{#- We skip silent ones -#}
|
||
{%- else -%}
|
||
{%- if pr.meta.E and pr.meta.E.value == 1 -%}
|
||
{%- set_global runtime_migration_count = runtime_migration_count + 1 -%}
|
||
- {{ m_c::change(c=pr) }}
|
||
{% endif -%}
|
||
{% endif -%}
|
||
{% endfor -%}
|
||
|
||
{%- if runtime_migration_count == 0 -%}
|
||
ℹ️ There is no runtime migration in this release.
|
||
{% else %}
|
||
|
||
⚠️ There is {{ runtime_migration_count }} runtime migration(s) in this release.
|
||
|
||
Runtime migrations are operations running once during a runtime upgrade.
|
||
{%- endif %}
|