diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 01518f4..9c76b3c 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -69,9 +69,7 @@ jobs: - name: Prepare release env variable if: ${{ github.event_name == 'release' && success() }} run: | - echo "RELEASE_CHANGELOG<> $GITHUB_ENV - echo "${{ github.event.release.body || '' }}" >> $GITHUB_ENV - echo "EOF" >> $GITHUB_ENV + printf 'RELEASE_CHANGELOG=%s\n' "${{ github.event.release.body || '' }}" >> $GITHUB_ENV echo "IS_GITHUB_PRERELEASE=${{ github.event.release.prerelease }}" >> $GITHUB_ENV - name: Prepare publish env variable @@ -168,4 +166,4 @@ jobs: # New ${{ github.event.release.prerelease && 'beta' || '' }} version of custom anvil ! <:CustomAnvil:1262550667986342001>([Modrinth](https://modrinth.com/plugin/customanvil), [Hangar](https://hangar.papermc.io/alexcrea/CustomAnvil) and [GitHub](${{ github.event.release.html_url }}) links) -# note: automated release. spigot is not uploaded yet. - ${{ env.RELEASE_CHANGELOG }} \ No newline at end of file + ${{ env.RELEASE_CHANGELOG }}