Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

extension_ci: Fix version bump not working (#45869)

Finn Eversd844f5db3081
diff --git a/.github/workflows/extension_bump.yml b/.github/workflows/extension_bump.yml
index 6d41aeecc17..0afbb3c6192 100644
--- a/.github/workflows/extension_bump.yml
+++ b/.github/workflows/extension_bump.yml
@@ -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
diff --git a/tooling/xtask/src/tasks/workflows/extension_bump.rs b/tooling/xtask/src/tasks/workflows/extension_bump.rs
index 70ec4d7cb78..00fa36860b9 100644
--- a/tooling/xtask/src/tasks/workflows/extension_bump.rs
+++ b/tooling/xtask/src/tasks/workflows/extension_bump.rs
@@ -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) {