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:
2
.github/workflows/extension_bump.yml
vendored
2
.github/workflows/extension_bump.yml
vendored
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user