From 4b86312317488056fc0d2831383c31b78e194b5e Mon Sep 17 00:00:00 2001 From: Jett <55758076+Jettford@users.noreply.github.com> Date: Wed, 10 May 2023 00:04:36 +0100 Subject: [PATCH] Update publishing.yml --- .github/workflows/publishing.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publishing.yml b/.github/workflows/publishing.yml index ed18b92d..ee42659d 100644 --- a/.github/workflows/publishing.yml +++ b/.github/workflows/publishing.yml @@ -61,7 +61,7 @@ jobs: run: | IFS=" - " read -ra PARTS <<< "$(head -n 1 versions.txt)" echo "VERSION=${PARTS[0]}" >> $GITHUB_ENV - echo "DESCRIPTION=${PARTS[1]}" >> $GITHUB_ENV + echo "DESCRIPTION=$(IFS=' '; echo "${PARTS[*]:1}")" >> $GITHUB_ENV - name: Create Release id: create_release @@ -71,7 +71,7 @@ jobs: with: tag_name: v${{ env.VERSION }} release_name: Release v${{ env.VERSION }} - body: Draft release for version v${{ env.VERSION }} \n ${{ env.DESCRIPTION }} + body: "Draft release for version v${{ env.VERSION }} \n\n ${{ env.DESCRIPTION }}" draft: true - name: Download all workflow run artifacts