Skip to content

Commit

Permalink
fix: handle multiline message
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelonion committed Feb 4, 2024
1 parent 19df535 commit d4df125
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
id: get_commits
run: |
echo 'COMMIT_LOG<<EOF' >> $GITHUB_ENV
git log ${{ github.event.before }}..${{ github.sha }} --pretty=format:"%s" -10 >> $GITHUB_ENV
git log ${{ github.event.before }}..${{ github.sha }} --pretty=format:"%s" -10 | while IFS= read -r line; do
echo "$line" >> $GITHUB_ENV
done
echo 'EOF' >> $GITHUB_ENV
- name: Set variables
Expand Down

0 comments on commit d4df125

Please sign in to comment.