From 503d3bdac488e235f0aa8cee3732ba7a1d94c99f Mon Sep 17 00:00:00 2001 From: Mohammed Rabil Date: Tue, 29 Aug 2023 22:45:58 +0530 Subject: [PATCH] Fix multiline output --- .github/workflows/release_on_tag_push.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_on_tag_push.yml b/.github/workflows/release_on_tag_push.yml index d6fe7da2..424a6473 100644 --- a/.github/workflows/release_on_tag_push.yml +++ b/.github/workflows/release_on_tag_push.yml @@ -24,7 +24,9 @@ jobs: - name: Generate changelogs id: changelogs run: | - echo "commits=$(git log --pretty=format:%s ${{ steps.fetch_latest_tag.outputs.previous_tag }}..${{ steps.fetch_latest_tag.outputs.latest_tag }})" >> $GITHUB_OUTPUT + echo "commits<> $GITHUB_OUTPUT + git log --pretty=format:%s ${{ steps.fetch_latest_tag.outputs.previous_tag }}..${{ steps.fetch_latest_tag.outputs.latest_tag }} >> $GITHUB_OUTPUT + echo "EOF" >> $GITHUB_OUTPUT - name: Create Release id: create_release uses: actions/create-release@v1