From 576a7fe1356595987e4a56b5771773fe624e4a66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Mond=C3=A9jar?= Date: Sun, 24 Jan 2021 13:34:55 +0100 Subject: [PATCH] Revert partially commands in 'Publish' workflow --- .github/workflows/publish.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a3751c9a1..f7505ce34 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