Skip to content

Commit b919143

Browse files
Fix SIGPIPE error in release workflow on Linux
The `git diff | head -50` command can exit with 141 (SIGPIPE) on Linux when head closes the pipe before git finishes writing. Add `|| true` to ignore this expected condition. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4179f25 commit b919143

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
@@ -169,7 +169,7 @@ jobs:
169169
170170
# Show diff for verification
171171
echo "Modified examples:"
172-
git diff examples/ | head -50
172+
git diff examples/ | head -50 || true
173173
174174
- name: Run tests with bundled platform
175175
run: |

0 commit comments

Comments
 (0)