Skip to content

Add migration to automatically bump common-ci-tasks versions before v2.52.2

Problem

After common-ci-tasks!879 (merged) was merged, projects need to use a version after v2.52.2 to have the fix included. Currently, this requires manual intervention to bump the version in affected projects.

If this issue is widespread across multiple projects, manually bumping versions each time becomes unsustainable.

Proposed Solution

Add a migration to common-template-copier that automatically detects and bumps common-ci-tasks versions that are before v2.52.2 to a compatible version (v2.52.2 or later).

Benefits

  • Eliminates the need for manual version bumping across multiple projects
  • Ensures projects automatically get the fix from common-ci-tasks!879 (merged)
  • Reduces maintenance overhead for widespread version updates

Acceptance Criteria

  • Migration detects common-ci-tasks versions before v2.52.2
  • Migration automatically bumps to v2.52.2 or appropriate later version
  • Migration can be run across multiple projects by renovate in versions prior to common-ci-tasks v2.52.2

Context

This issue arose from commit f074d099 where manual version bumping was required.

Edited by Bob Van Landuyt