Skip to content

Commit f22154e

Browse files
committed
ci: fix changelog formatting in release workflow
1 parent 1dfafa2 commit f22154e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,14 +194,16 @@ jobs:
194194
195195
CHANGELOG="${CHANGELOG}**Full Changelog**: https://github.com/${{ github.repository }}/compare/${PREVIOUS_TAG}...${CURRENT_TAG}"
196196
197+
echo "previous-tag=$PREVIOUS_TAG" >> $GITHUB_OUTPUT
198+
197199
{
198-
echo 'changelog<<EOF'
199-
echo -e "$CHANGELOG"
200-
echo EOF
200+
echo "changelog<<EOF"
201+
echo "$CHANGELOG"
202+
echo "EOF"
201203
} >> $GITHUB_OUTPUT
202204
203205
echo "Generated changelog:"
204-
echo -e "$CHANGELOG"
206+
echo "$CHANGELOG"
205207
206208
create-release:
207209
name: Create Release

0 commit comments

Comments
 (0)