From ff4fd0b7729a29d6b684403c9c02bd8959bbabd0 Mon Sep 17 00:00:00 2001 From: Squirrel Date: Thu, 18 Aug 2022 13:07:18 +0100 Subject: [PATCH] Removes duplication and unneeded sections. (#1547) Co-authored-by: parity-processbot <> --- cumulus/scripts/ci/changelog/templates/changes.md.tera | 1 - cumulus/scripts/ci/changelog/templates/template.md.tera | 9 ++++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/cumulus/scripts/ci/changelog/templates/changes.md.tera b/cumulus/scripts/ci/changelog/templates/changes.md.tera index a6670a7ece..d691da0a53 100644 --- a/cumulus/scripts/ci/changelog/templates/changes.md.tera +++ b/cumulus/scripts/ci/changelog/templates/changes.md.tera @@ -14,7 +14,6 @@ {% include "changes_runtime.md.tera" %} -{% include "runtimes.md.tera" -%} {% endif %} {% include "changes_misc.md.tera" %} diff --git a/cumulus/scripts/ci/changelog/templates/template.md.tera b/cumulus/scripts/ci/changelog/templates/template.md.tera index 1545951993..ba50fc439b 100644 --- a/cumulus/scripts/ci/changelog/templates/template.md.tera +++ b/cumulus/scripts/ci/changelog/templates/template.md.tera @@ -20,15 +20,14 @@ This release contains the changes from `{{ env.REF1 }}` to `{{ env.REF2 }}`. {# we will force it to HIGH if at least one host function was detected. #} {% include "host_functions.md.tera" -%} + +{% if env.RELEASE_TYPE and env.RELEASE_TYPE == "client" -%} {% include "global_priority.md.tera" -%} {% include "compiler.md.tera" -%} -{% include "migrations-db.md.tera" -%} - -{% if env.RELEASE_TYPE and env.RELEASE_TYPE == "client" %} +{% include "migrations-db.md.tera" %} {% else %} -{% include "migrations-runtime.md.tera" -%} - +{% include "migrations-runtime.md.tera" %} {% include "runtimes.md.tera" -%} {% endif %}