Skip to content

Commit

Permalink
try fixing the changelog echo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellpeck committed Nov 4, 2024
1 parent a20b857 commit f3c7f87
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,13 @@ jobs:
- name: Grab Changelog from Commit Message Body
run: |
changelog=$(echo -e "$MESSAGE" | sed -n '/^$/,$p' | sed '1d')
echo $changelog
echo "CHANGELOG=$changelog" >> $GITHUB_ENV
echo -e "$changelog"
{
echo 'CHANGELOG<<EOF'
echo -e "$changelog"
echo EOF
} >> "$GITHUB_ENV"
echo -e "CHANGELOG=$changelog" >> $GITHUB_ENV
env:
MESSAGE: ${{ github.event.head_commit.message }}
- name: Release
Expand Down

0 comments on commit f3c7f87

Please sign in to comment.