From df25da96f069adc9df1cca7e5eeb68f3ae60ddb7 Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle Date: Thu, 23 Jul 2020 20:58:44 +0200 Subject: [PATCH] Update build-release.yml --- .github/workflows/build-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 1b40304ef1..0bcc37219a 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -24,7 +24,7 @@ jobs: run: | export VERSION=$(cat version.h | sed 's/[^0-9,.]//g') export TAG=v${VERSION}.${GITHUB_RUN_ID}.${GITHUB_RUN_NUMBER} - export RELEASE_TEXT=$(grep -Pzo '## ${VERSION}\n(\n|.)+?\n##' ../CHANGELOG.md | sed '$ d') + export RELEASE_TEXT=$(grep -Pzo "## ${VERSION}\n(\n|.)+?\n##" ../CHANGELOG.md | sed '$ d') RELEASE_TEXT="${RELEASE_TEXT//'%'/'%25'}" RELEASE_TEXT="${RELEASE_TEXT//$'\n'/'%0A'}" RELEASE_TEXT="${RELEASE_TEXT//$'\r'/'%0D'}"