Skip to content

Commit cd42df3

Browse files
committed
ci(github): release.yml multiline description fix.
1 parent 3e7b957 commit cd42df3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,16 @@ jobs:
7575
run: |
7676
VERSION="${{ runner.temp }}/VERSION"
7777
CHANGELOG="${{ runner.temp }}/CHANGELOG.md"
78+
DESCRIPTION=$(cat << 'EOF')
79+
${{ inputs.description }}
80+
EOF
81+
)
7882
7983
npm run release -- \
8084
${{ inputs.type != 'stable' && format('--preRelease="{0}"', inputs.type) || ''}} \
8185
${{ inputs.dry-run && '--dry-run' || ''}} \
8286
--release.name='${{ inputs.name }}' \
83-
--release.description='${{ inputs.description }}' \
87+
--release.description="$DESCRIPTION" \
8488
--dump.version="$VERSION" \
8589
--dump.changelog="$CHANGELOG" \
8690
--verbose

0 commit comments

Comments
 (0)