From 15d4f8b3be52ca530a4b2c3bf2c5d7fce2f1ab17 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 <> --- scripts/ci/changelog/templates/changes.md.tera | 1 - scripts/ci/changelog/templates/template.md.tera | 9 ++++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/ci/changelog/templates/changes.md.tera b/scripts/ci/changelog/templates/changes.md.tera index a6670a7ece..d691da0a53 100644 --- a/scripts/ci/changelog/templates/changes.md.tera +++ b/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/scripts/ci/changelog/templates/template.md.tera b/scripts/ci/changelog/templates/template.md.tera index 1545951993..ba50fc439b 100644 --- a/scripts/ci/changelog/templates/template.md.tera +++ b/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 %}