improve wording of release notes (#5513)

* remove verbose 'refs/tags/' from changelog

* fix wording in pre_release changelog template

* improve migrations wording in changelog template

* fixup
This commit is contained in:
Mara Robin B
2022-05-12 15:56:33 +02:00
committed by GitHub
parent 2bb89cc5c9
commit 9fb96a7d2f
4 changed files with 37 additions and 29 deletions
@@ -5,7 +5,7 @@
{% if env.PRE_RELEASE == "true" -%}
This pre-release contains the changes from `{{ env.REF1 | replace(from="refs/tags/", to="") }}` to `{{ env.REF2 | replace(from="refs/tags/", to="") }}`.
{%- else -%}
This release contains the changes from `{{ env.REF1 }}` to `{{ env.REF2 }}`.
This release contains the changes from `{{ env.REF1 | replace(from="refs/tags/", to="") }}` to `{{ env.REF2 | replace(from="refs/tags/", to="") }}`.
{% endif -%}
{%- set changes = polkadot.changes | concat(with=substrate.changes) -%}