Skip to content

Commit

Permalink
ci(github actions): use multiline syntax for changelog in release (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkamenoko authored Sep 24, 2024
1 parent 1c64639 commit 492c20a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ jobs:
id: pick
run: |
cat packages/${{ needs.package-name.outputs.package-name }}/CHANGELOG.md | csplit - '/---/' '{*}'
cat xx01 | tail -n +3 | echo "body=$(cat -)" >> "$GITHUB_OUTPUT"
echo "body<<EOF" >> "$GITHUB_OUTPUT"
cat xx01 | tail -n +3 >> "$GITHUB_OUTPUT"
echo EOF >> "$GITHUB_OUTPUT"
- name: Publish to GitHub Release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 492c20a

Please sign in to comment.