diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a3751c9a..f7505ce3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -47,10 +47,9 @@ jobs: - name: Get release title and body id: release run: | - COMMIT_MSG="$(printf "${{ steps.commit.outputs.git-message }}")" - RELEASE_TITLE="$(printf "$COMMIT_MSG" | head -n 1)" + RELEASE_TITLE=$(echo '${{ steps.commit.outputs.git-message }}' | head -n 1) echo "::set-output name=title::$RELEASE_TITLE" - RELEASE_BODY="$(printf "$COMMIT_MSG" | tail -n +3)" + RELEASE_BODY=$(echo '${{ steps.commit.outputs.git-message }}' | tail -n +3) echo "::set-output name=body::$RELEASE_BODY" - name: Get release version id: get-version