From f3c7f87733e9d2da7e705f3568b72ae5305d6264 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Mon, 4 Nov 2024 22:28:48 +0100 Subject: [PATCH] try fixing the changelog echo --- .github/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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