diff --git a/scripts/ci/changelog/templates/changes_misc.md.tera b/scripts/ci/changelog/templates/changes_misc.md.tera index 7585eb8bc524..3ad1e1d222b7 100644 --- a/scripts/ci/changelog/templates/changes_misc.md.tera +++ b/scripts/ci/changelog/templates/changes_misc.md.tera @@ -12,7 +12,7 @@ {%- endif -%} {% endif -%} {% endif -%} -{% endfor %} +{% endfor -%} ### Misc diff --git a/scripts/ci/changelog/templates/global_priority.md.tera b/scripts/ci/changelog/templates/global_priority.md.tera index 933f878ceae2..fe3d634f19dd 100644 --- a/scripts/ci/changelog/templates/global_priority.md.tera +++ b/scripts/ci/changelog/templates/global_priority.md.tera @@ -18,12 +18,5 @@ {%- set global_prio = substrate_prio -%} {%- endif -%} -{# We show the result #} +{#- We show the result #} {{ m_p::high_priority(p=global_prio, changes=changes) }} - - - -{# todo: show high prio list here #} diff --git a/scripts/ci/changelog/templates/high_priority.md.tera b/scripts/ci/changelog/templates/high_priority.md.tera index 83b1e5c8b838..117d335efdc0 100644 --- a/scripts/ci/changelog/templates/high_priority.md.tera +++ b/scripts/ci/changelog/templates/high_priority.md.tera @@ -21,17 +21,15 @@ {% if p >= 3 %} The changes motivating this priority level are: - {% for pr in changes | sort(attribute="merged_at") -%} {%- if pr.meta.C -%} {%- if pr.meta.C.value == p %} - {{ m_c::change(c=pr) }} -{%- if pr.meta.B and pr.meta.B.value == 7 %} -(RUNTIME) +{%- if pr.meta.B and pr.meta.B.value == 7 %} (RUNTIME) {% endif %} {%- endif -%} {%- endif -%} -{%- endfor %} +{%- endfor -%} {%- else -%} {%- endif -%} diff --git a/scripts/ci/changelog/templates/host_functions.md.tera b/scripts/ci/changelog/templates/host_functions.md.tera index 46efc8cae929..f47be913b2fe 100644 --- a/scripts/ci/changelog/templates/host_functions.md.tera +++ b/scripts/ci/changelog/templates/host_functions.md.tera @@ -20,6 +20,7 @@ {%- if host_fn_count == 0 %} ℹ️ This release does not contain any new host functions. {% elif host_fn_count == 1 -%} +{# ---- #} ⚠️ The runtimes in this release contain one new **host function**. ⚠️ It is critical that you update your client before the chain switches to the new runtime. diff --git a/scripts/ci/changelog/templates/migrations-db.md.tera b/scripts/ci/changelog/templates/migrations-db.md.tera index a57a348d64ed..917073b2f262 100644 --- a/scripts/ci/changelog/templates/migrations-db.md.tera +++ b/scripts/ci/changelog/templates/migrations-db.md.tera @@ -1,4 +1,4 @@ -{%- import "change.md.tera" as m_c %} +{% import "change.md.tera" as m_c %} {%- set_global db_migration_count = 0 -%} {%- for pr in changes -%} {%- if pr.meta.B and pr.meta.B.value == 0 %} @@ -6,7 +6,7 @@ {%- elif pr.meta.E and pr.meta.E.value == 2 -%} {%- set_global db_migration_count = db_migration_count + 1 -%} {%- endif -%} -{%- endfor -%} +{%- endfor %} ## Database Migrations diff --git a/scripts/ci/changelog/templates/migrations-runtime.md.tera b/scripts/ci/changelog/templates/migrations-runtime.md.tera index 4a0f749cd6e8..fda22d30b6ea 100644 --- a/scripts/ci/changelog/templates/migrations-runtime.md.tera +++ b/scripts/ci/changelog/templates/migrations-runtime.md.tera @@ -6,7 +6,7 @@ {%- elif pr.meta.E and pr.meta.E.value == 1 -%} {%- set_global runtime_migration_count = runtime_migration_count + 1 -%} {%- endif -%} -{%- endfor -%} +{%- endfor %} ## Runtime Migrations diff --git a/scripts/ci/changelog/templates/runtime.md.tera b/scripts/ci/changelog/templates/runtime.md.tera index 23b589da915f..1610e6e3e3f6 100644 --- a/scripts/ci/changelog/templates/runtime.md.tera +++ b/scripts/ci/changelog/templates/runtime.md.tera @@ -16,13 +16,13 @@ ``` -🏋️ Runtime Size: {{ runtime.data.runtimes.compressed.subwasm.size | filesizeformat }} ({{ runtime.data.runtimes.compressed.subwasm.size }} bytes) -🔥 Core Version: {{ runtime.data.runtimes.compressed.subwasm.core_version }} -🗜 Compressed: {{ compressed }}: {{ comp_ratio | round(method="ceil", precision=2) }}% -🎁 Metadata version: V{{ runtime.data.runtimes.compressed.subwasm.metadata_version }} -🗳️ system.setCode hash: {{ runtime.data.runtimes.compressed.subwasm.proposal_hash }} -🗳️ authorizeUpgrade hash: {{ runtime.data.runtimes.compressed.subwasm.parachain_authorize_upgrade_hash }} -🗳️ Blake2-256 hash: {{ runtime.data.runtimes.compressed.subwasm.blake2_256 }} -📦 IPFS: {{ runtime.data.runtimes.compressed.subwasm.ipfs_hash }} +🏋️ Runtime Size: {{ runtime.data.runtimes.compressed.subwasm.size | filesizeformat }} ({{ runtime.data.runtimes.compressed.subwasm.size }} bytes) +🔥 Core Version: {{ runtime.data.runtimes.compressed.subwasm.core_version }} +🗜 Compressed: {{ compressed }}: {{ comp_ratio | round(method="ceil", precision=2) }}% +🎁 Metadata version: V{{ runtime.data.runtimes.compressed.subwasm.metadata_version }} +🗳️ system.setCode hash: {{ runtime.data.runtimes.compressed.subwasm.proposal_hash }} +🗳️ authorizeUpgrade hash: {{ runtime.data.runtimes.compressed.subwasm.parachain_authorize_upgrade_hash }} +🗳️ Blake2-256 hash: {{ runtime.data.runtimes.compressed.subwasm.blake2_256 }} +📦 IPFS: {{ runtime.data.runtimes.compressed.subwasm.ipfs_hash }} ``` -{%- endmacro runtime %} \ No newline at end of file +{%- endmacro runtime %} diff --git a/scripts/ci/changelog/templates/runtimes.md.tera b/scripts/ci/changelog/templates/runtimes.md.tera index 600c5f17dc99..0847382689fb 100644 --- a/scripts/ci/changelog/templates/runtimes.md.tera +++ b/scripts/ci/changelog/templates/runtimes.md.tera @@ -1,6 +1,8 @@ {# This include shows the list and details of the runtimes #} {%- import "runtime.md.tera" as m_r -%} +{# --- #} + ## Runtimes {% set rtm = srtool[0] -%} diff --git a/scripts/ci/changelog/templates/template.md.tera b/scripts/ci/changelog/templates/template.md.tera index 3a83a77a6a55..e04636b4b227 100644 --- a/scripts/ci/changelog/templates/template.md.tera +++ b/scripts/ci/changelog/templates/template.md.tera @@ -17,7 +17,6 @@ This release contains the changes from `{{ env.REF1 | replace(from="refs/tags/", {# -- Manual free notes section -- #} {% include "_free_notes.md.tera" -%} -{# --------------------------------- #} {# -- Important automatic section -- #} {% include "global_priority.md.tera" -%}