extension_ci: Fix version bump not working (#45869)
Finn Evers
created 1 week ago
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
Change summary
.github/workflows/extension_bump.yml | 2 +-
tooling/xtask/src/tasks/workflows/extension_bump.rs | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
Detailed changes
@@ -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
@@ -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) {