From 2533e3811d76710f063b01087b0efc29e7de14ed Mon Sep 17 00:00:00 2001 From: Hagen Wierstorf Date: Tue, 28 Nov 2023 16:55:31 +0100 Subject: [PATCH] CI: simplify changelog parsing --- .github/workflows/publish.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 96f482e..aed9f96 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -51,11 +51,6 @@ jobs: run: | # Get bullet points from last CHANGELOG entry CHANGELOG=$(git diff -U0 HEAD^ HEAD | grep '^[+][\* ]' | sed 's/\+//') - # Support for multiline, see - # https://github.com/actions/create-release/pull/11#issuecomment-640071918 - CHANGELOG="${CHANGELOG//'%'/'%25'}" - CHANGELOG="${CHANGELOG//$'\n'/'%0A'}" - CHANGELOG="${CHANGELOG//$'\r'/'%0D'}" echo "Got changelog: $CHANGELOG" echo "body=$CHANGELOG" >> $GITHUB_OUTPUT - name: Create release on Github