diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ae9ea11..ccd7be26 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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<> "$GITHUB_ENV" + echo -e "CHANGELOG=$changelog" >> $GITHUB_ENV env: MESSAGE: ${{ github.event.head_commit.message }} - name: Release