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

Commit

Permalink
changelog: fix migration listing (#6806)
Browse files Browse the repository at this point in the history
* changelog: fix runtime migration listing

* changelog: fix db migration listing
  • Loading branch information
coderobe committed Mar 1, 2023
1 parent ce814ee commit f7ab310
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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 -%}

0 comments on commit f7ab310

Please sign in to comment.