You've already forked wp-fedistream
fix: Handle SIGPIPE in package verification
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -111,9 +111,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Verify package structure
|
- name: Verify package structure
|
||||||
run: |
|
run: |
|
||||||
|
set +o pipefail
|
||||||
VERSION=${{ steps.version.outputs.version }}
|
VERSION=${{ steps.version.outputs.version }}
|
||||||
echo "Package contents:"
|
echo "Package contents:"
|
||||||
unzip -l "releases/wp-fedistream-${VERSION}.zip" | head -50
|
unzip -l "releases/wp-fedistream-${VERSION}.zip" | head -50 || true
|
||||||
|
|
||||||
# Verify main file is at correct location
|
# Verify main file is at correct location
|
||||||
if unzip -l "releases/wp-fedistream-${VERSION}.zip" | grep -q "wp-fedistream/wp-fedistream.php"; then
|
if unzip -l "releases/wp-fedistream-${VERSION}.zip" | grep -q "wp-fedistream/wp-fedistream.php"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user