Skip to content

Commit 8fc3766

Browse files
committed
correct multiline release notes for creating a release in github
1 parent fd30d8b commit 8fc3766

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build-test-package-publish.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,14 @@ jobs:
281281
id: get_release_notes
282282
run: |
283283
REL_NOTES="$(poetry run npm run --silent extract-release-notes)"
284-
echo $REL_NOTES
284+
echo "$REL_NOTES"
285+
286+
REL_NOTES="${REL_NOTES//'%'/'%25'}"
287+
REL_NOTES="${REL_NOTES//$'\n'/'%0A'}"
288+
REL_NOTES="${REL_NOTES//$'\r'/'%0D'}"
289+
290+
echo "$REL_NOTES"
291+
285292
echo "::set-output name=release_notes::$REL_NOTES"
286293
287294
- name: find assets

0 commit comments

Comments
 (0)