Skip to content

Commit e371e7a

Browse files
committed
patch: Fix Build
- Build Fix
1 parent 3115cb5 commit e371e7a

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,12 @@ jobs:
7777
7878
# Extract commit body (everything after first line, trimmed)
7979
# Use heredoc for multiline output (GitHub Actions recommended approach)
80+
COMMIT_BODY=$(echo "$COMMIT_MSG" | tail -n +2 | sed '/./,$!d' | sed -e :a -e '/^\s*$/d;N;ba' | sed '/^Co-Authored-By:/d' || true)
81+
DELIM="EOF_$(date +%s%N)"
8082
{
81-
echo 'release_body<<EOF'
82-
echo "$COMMIT_MSG" | tail -n +2 | sed '/./,$!d' | sed -e :a -e '/^\s*$/d;N;ba' | grep -v "^Co-Authored-By:"
83-
echo 'EOF'
83+
echo "release_body<<$DELIM"
84+
echo "$COMMIT_BODY"
85+
echo "$DELIM"
8486
} >> $GITHUB_OUTPUT
8587
fi
8688

0 commit comments

Comments
 (0)