Skip to content

Commit ab8ba46

Browse files
committed
fix: sed works differently on macOS as it's the BSD variant
1 parent 4e7596b commit ab8ba46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-and-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ jobs:
217217
run: |
218218
cd ./dist/
219219
for file in *.whl; do
220-
mv "$file" "$(echo "$file" | sed 's/macosx_[0-9]\+_[0-9]\+/macosx_11_0/')";
220+
mv "$file" "$(echo "$file" | sed -E 's/macosx_[0-9]+_[0-9]+/macosx_11_0/')";
221221
done
222222
- name: Upload wheel as CI artifacts
223223
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)