mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 21:01:02 +00:00
Move scripts used in CI to the new location (#5198)
* Move CI scripts and update references * Update paths in .gitlab-ci.yml * Removed outdated entries from CODEOWNERS
This commit is contained in:
committed by
GitHub
parent
9a840bb12a
commit
631a5db536
@@ -0,0 +1,26 @@
|
||||
{%- import "change.md.tera" as m_c %}
|
||||
{%- set_global db_migration_count = 0 -%}
|
||||
|
||||
## Database Migrations
|
||||
|
||||
{% for pr in changes | sort(attribute="merged_at") -%}
|
||||
|
||||
{%- if pr.meta.B and pr.meta.B.value == 0 %}
|
||||
{#- We skip silent ones -#}
|
||||
{%- else -%}
|
||||
{%- if pr.meta.E and pr.meta.E.value == 2 -%}
|
||||
{%- set_global db_migration_count = db_migration_count + 1 -%}
|
||||
- {{ m_c::change(c=pr) }}
|
||||
{% endif -%}
|
||||
{% endif -%}
|
||||
{% endfor -%}
|
||||
|
||||
{%- if db_migration_count == 0 -%}
|
||||
No Database migration detected in this release.
|
||||
{% else %}
|
||||
|
||||
There is {{ db_migration_count }} database migration(s) in this release.
|
||||
|
||||
Database migrations are operations bringing your database to the latest stand.
|
||||
Some migrations may break compatibility and making a backup of your database is highly recommended.
|
||||
{%- endif %}
|
||||
Reference in New Issue
Block a user