Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

changelog: fix migration listing #6806

Merged
merged 2 commits into from
Mar 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/ci/changelog/templates/migrations-db.md.tera
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{%- for pr in changes -%}
{%- if pr.meta.B and pr.meta.B.B0 %}
{#- We skip silent ones -#}
{%- elif pr.meta.E and pr.meta.E.E2 -%}
{%- elif pr.meta.E and pr.meta.E.E1 -%}
{%- set_global db_migration_count = db_migration_count + 1 -%}
{%- endif -%}
{%- endfor %}
Expand All @@ -24,7 +24,7 @@ Some migrations may break compatibility, making a backup of your database is hig

{%- if pr.meta.B and pr.meta.B.B0 %}
{#- We skip silent ones -#}
{%- elif pr.meta.E and pr.meta.E.E2 -%}
{%- elif pr.meta.E and pr.meta.E.E1 -%}
- {{ m_c::change(c=pr) }}
{% endif -%}
{% endfor -%}
4 changes: 2 additions & 2 deletions scripts/ci/changelog/templates/migrations-runtime.md.tera
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{%- for pr in changes -%}
{%- if pr.meta.B and pr.meta.B.B0 %}
{#- We skip silent ones -#}
{%- elif pr.meta.E and pr.meta.E.E1 -%}
{%- elif pr.meta.E and pr.meta.E.E0 -%}
{%- set_global runtime_migration_count = runtime_migration_count + 1 -%}
{%- endif -%}
{%- endfor %}
Expand All @@ -23,7 +23,7 @@ Runtime migrations are operations running once during a runtime upgrade.

{%- if pr.meta.B and pr.meta.B.B0 %}
{#- We skip silent ones -#}
{%- elif pr.meta.E and pr.meta.E.E1 -%}
{%- elif pr.meta.E and pr.meta.E.E0 -%}
- {{ m_c::change(c=pr) }}
{% endif -%}
{% endfor -%}