Skip to content

Commit a2d1656

Browse files
RedBeardEthclaude
andcommitted
fix(ci): fix changelog generation in release workflow
Replace piped head|sed with single awk to avoid broken pipe errors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b3c31df commit a2d1656

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@ jobs:
117117
git log "${PREV_TAG}..${TAG}" --oneline --no-merges --pretty=format:"%s" \
118118
| sed "/^style:/d" \
119119
| sed "/^chore: mark pending upstream sync/d" \
120-
| head -50 \
121-
| sed "s/^/- /"
120+
| awk 'NR<=50 { print "- " $0 }'
122121
)"
123122
if [[ -z "$CHANGE_LINES" ]]; then
124123
CHANGE_LINES="- No notable changes"

0 commit comments

Comments
 (0)