From bc41eeb30007424c00eb2fc865bf80cfd5b84a59 Mon Sep 17 00:00:00 2001 From: Aleksei Lebedev <1329824+LastDragon-ru@users.noreply.github.com> Date: Sun, 17 Nov 2024 11:25:15 +0400 Subject: [PATCH] ci(github): `release.yml` multiline description fix. --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 41e0b55a..aa772a7b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,12 +75,16 @@ jobs: run: | VERSION="${{ runner.temp }}/VERSION" CHANGELOG="${{ runner.temp }}/CHANGELOG.md" + DESCRIPTION=$(cat << 'EOF' + ${{ inputs.description }} + EOF + ) npm run release -- \ ${{ inputs.type != 'stable' && format('--preRelease="{0}"', inputs.type) || ''}} \ ${{ inputs.dry-run && '--dry-run' || ''}} \ --release.name='${{ inputs.name }}' \ - --release.description='${{ inputs.description }}' \ + --release.description="$DESCRIPTION" \ --dump.version="$VERSION" \ --dump.changelog="$CHANGELOG" \ --verbose