Release notes fixes (#5494)

* Move compiler information below priority information

* Show docker section by default

* Show a mention even if there are no host functions

* Fix the wording for the migrations

* Fix some wording

* Include free notes section

* Fix spacing issue

* Rename the free notes template

* Few minor changes including reworking the tag rendering
This commit is contained in:
Chevdor
2022-05-11 11:20:34 +02:00
committed by GitHub
parent 8837dc7e6f
commit 42ceb1c1b1
9 changed files with 34 additions and 19 deletions
@@ -3,7 +3,7 @@
{% include "pre_release.md.tera" -%}
{% if env.PRE_RELEASE == "true" -%}
This pre-release contains the changes from `{{ env.REF1 }}` to `{{ env.REF2 }}`.
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 }}`.
{% endif -%}
@@ -15,15 +15,21 @@ This release contains the changes from `{{ env.REF1 }}` to `{{ env.REF2 }}`.
{%- set DOT = "[P]" -%}
{%- set SUB = "[S]" -%}
{# -- Manual free notes section -- #}
{% include "_free_notes.md.tera" -%}
{# --------------------------------- #}
{# -- Important automatic section -- #}
{% include "global_priority.md.tera" -%}
{% include "host_functions.md.tera" -%}
{% include "compiler.md.tera" -%}
{% include "migrations-db.md.tera" -%}
{% include "migrations-runtime.md.tera" -%}
{# --------------------------------- #}
{% include "compiler.md.tera" -%}
{% include "runtimes.md.tera" -%}