From df9ab3c1577a4ee6e282ca299106aba7c890761d Mon Sep 17 00:00:00 2001 From: Chevdor Date: Tue, 29 Mar 2022 18:17:56 +0200 Subject: [PATCH] Skip runtime migrations for the client release (#1116) Also removes a bunch of empty lines for a nice output --- cumulus/scripts/ci/changelog/templates/change.md.tera | 5 ++--- cumulus/scripts/ci/changelog/templates/debug.md.tera | 1 - .../ci/changelog/templates/host_functions.md.tera | 1 + cumulus/scripts/ci/changelog/templates/template.md.tera | 9 +++------ 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/cumulus/scripts/ci/changelog/templates/change.md.tera b/cumulus/scripts/ci/changelog/templates/change.md.tera index 7a4c9a357c..b02b1d513c 100644 --- a/cumulus/scripts/ci/changelog/templates/change.md.tera +++ b/cumulus/scripts/ci/changelog/templates/change.md.tera @@ -25,7 +25,6 @@ {%- set audit = "" -%} {%- endif -%} #} - {%- if c.html_url is containing("polkadot") -%} {%- set repo = dot -%} {%- elif c.html_url is containing("cumulus") -%} @@ -35,11 +34,11 @@ {%- else -%} {%- set repo = " " -%} {%- endif -%} - +{# #} {%- if c.meta.T and c.meta.T.value == 6 -%} {%- set xcm = " [✉️ XCM]" -%} {%- else -%} {%- set xcm = "" -%} {%- endif -%} {{- repo }} {{ audit }}[`#{{c.number}}`]({{c.html_url}}) {{- prio }} - {{ c.title | capitalize | truncate(length=60, end="…") }}{{xcm }} -{%- endmacro change -%} +{%- endmacro change %} diff --git a/cumulus/scripts/ci/changelog/templates/debug.md.tera b/cumulus/scripts/ci/changelog/templates/debug.md.tera index 29ac673a39..43eb52a84d 100644 --- a/cumulus/scripts/ci/changelog/templates/debug.md.tera +++ b/cumulus/scripts/ci/changelog/templates/debug.md.tera @@ -1,5 +1,4 @@ {%- set to_ignore = changes | filter(attribute="meta.B.value", value=0) %} - {% else %} +{% include "migrations-runtime.md.tera" -%} + {% include "runtimes.md.tera" -%} {% endif %} {% include "changes.md.tera" -%} - {% include "docker_image.md.tera" -%}