extension_ci: Fix version bump not working (#45869)

I changed the runner sizes to a smaller but more recent image yesterday
and broke the version bumping in the process. This PR fixes this by
force installing the needed package.

Release Notes:

- N/A
This commit is contained in:
Finn Evers
2025-12-30 16:27:20 +01:00
committed by GitHub
parent fc45f6e042
commit d844f5db30
2 changed files with 5 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ jobs:
with:
clean: false
- name: extension_bump::install_bump_2_version
run: pip install bump2version
run: pip install bump2version --break-system-packages
shell: bash -euxo pipefail {0}
- id: bump-version
name: extension_bump::bump_version

View File

@@ -245,7 +245,10 @@ pub(crate) fn generate_token(
}
fn install_bump_2_version() -> Step<Run> {
named::run(runners::Platform::Linux, "pip install bump2version")
named::run(
runners::Platform::Linux,
"pip install bump2version --break-system-packages",
)
}
fn bump_version(current_version: &JobOutput, bump_type: &WorkflowInput) -> (Step<Run>, StepOutput) {