Skip to content

Commit 67db3a3

Browse files
committed
Fix sed in release pipeline.
The `;` was missing between the two `s///` statements; without it it failed with an error about "unknown flag". Tested with act to get _some_ sembalance of an idea if it will work, but it's no guarantee ``` act \ --env GITHUB_REPOSITORY=python-pendulum/pendulum \ -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:rust-latest \ --artifact-server-path $PWD/.artifacts \ -W .github/workflows/release.yml \ --matrix container:off,target:aarch64 \ --container-architecture linux/amd64 ```
1 parent df18589 commit 67db3a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
- name: Hotswap build backend for Poetry
104104
# Maturin doesn't support building no-extension wheels, so we swap to Poetry for that
105105
run: |
106-
sed -i '/^\[build-system\]/,/^\[/{s/^requires = .*/requires = ["poetry-core>=2.0.0,<3.0.0"]/ s/^build-backend = .*/build-backend = "poetry.core.masonry.api"/}' pyproject.toml
106+
sed -i -e '/^\[build-system\]/,/^\[/{s/^requires = .*/requires = ["poetry-core>=2.0.0,<3.0.0"]/; s/^build-backend = .*/build-backend = "poetry.core.masonry.api"/}' pyproject.toml
107107
- name: Install dependencies
108108
run: poetry install --only main --only test --only typing --only build
109109
- name: Run poetry build

0 commit comments

Comments
 (0)