Skip to content

Commit a8f0bee

Browse files
Update make-update-github-releases.yml
Signed-off-by: LUIZ HAMILTON ROBERTO DA SILVA <[email protected]>
1 parent 33ce430 commit a8f0bee

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/make-update-github-releases.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,13 @@ jobs:
150150
/^## / && found {exit}
151151
found {print}
152152
' CHANGELOG.md)
153-
echo "RELEASE_BODY<<EOF" >> $GITHUB_ENV
154-
echo "${body:-No changelog available.}" >> $GITHUB_ENV
155-
echo "EOF" >> $GITHUB_ENV
153+
154+
# Correctly export multiline body to environment
155+
{
156+
echo "RELEASE_BODY<<EOF"
157+
echo "${body:-No changelog available.}"
158+
echo "EOF"
159+
} >> $GITHUB_ENV
156160
157161
- name: Create GitHub Release
158162
id: create_release

0 commit comments

Comments
 (0)