Loading
fix: add migration to include release-platform component
Summary
The release_platform question was added in v1.41.0 but existing projects with .gitlab-ci.yml in _skip_if_exists won't get the component automatically when they upgrade.
This MR adds a migration script that:
- Runs only when
release_platform: trueis set in the project's answers - Reads the component version from
.gitlab-ci.yml.jinjato stay in sync with the template - Adds the
release-platformcomponent to the project's.gitlab-ci.yml - Is idempotent (skips if the component already exists)