From f262d6129b4b070073b73caa624cb71eb8559205 Mon Sep 17 00:00:00 2001 From: Jonas Eberle Date: Wed, 17 Nov 2021 14:54:08 +0100 Subject: [PATCH] [BUGFIX] enable multiline release tag comments --- .github/workflows/publish-ter.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-ter.yml b/.github/workflows/publish-ter.yml index 1b1f1189..020fcdae 100644 --- a/.github/workflows/publish-ter.yml +++ b/.github/workflows/publish-ter.yml @@ -28,8 +28,11 @@ jobs: - name: Get comment id: get-comment run: | - readonly local comment=$(git tag -n10 -l ${{ steps.get-version.outputs.version }} | sed "s/^[0-9.]*[ ]*//g") - + comment=$(git tag -n10 -l ${{ steps.get-version.outputs.version }} | sed "s/^[0-9.]*[ ]*//g") + comment="${comment//'%'/'%25'}" + comment="${comment//$'\n'/'%0A'}" + comment="${comment//$'\r'/'%0D'}" + if [[ -z "${comment// }" ]]; then echo ::set-output name=comment::Released version ${{ steps.get-version.outputs.version }} of ${{ env.TYPO3_EXTENSION_KEY }} else