diff --git a/.github/workflows/publish-ter.yml b/.github/workflows/publish-ter.yml index 1d4c5e4..abd2436 100644 --- a/.github/workflows/publish-ter.yml +++ b/.github/workflows/publish-ter.yml @@ -29,7 +29,10 @@ jobs: - name: Get comment id: get-comment run: | - readonly local comment=$(git tag -n999 -l v${{ steps.get-version.outputs.version }} | sed "s/^v[0-9.]*[ ]*//g") + comment=$(git tag -n999 -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 }}