diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c3751335..7d7016ec 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -49,7 +49,7 @@ jobs: run: | RELEASE_TITLE=$(echo "${{ steps.commit.outputs.git-message }}" | head -n 1) echo "::set-output name=title::$RELEASE_TITLE" - RELEASE_BODY=$(echo "${{ steps.commit.outputs.git-message }}" | tail -n +3) + RELEASE_BODY=$(echo "${{ steps.commit.outputs.git-message }}" | tail -n $(expr $(echo "${{ steps.commit.outputs.git-message }}" | wc -l) - 1)) echo "::set-output name=body::$RELEASE_BODY" - name: Get release version id: get-version