Skip to content

Commit

Permalink
ci(github): release.yml multiline description fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
LastDragon-ru committed Nov 17, 2024
1 parent 3e7b957 commit cd42df3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd42df3

Please sign in to comment.