Open Goooler opened 3 months ago
I know why, must use single quotations (''
) instead of double quotations (""
) here.
A new case:
### Added
- it's there
run
echo '### Added
- it's there' > note.txt
quote>
this '
could not be escaped except using double quotations.
Workaround: using release_notes_file
to save the note and gh release create ${{ github.ref_name }} --notes-file RELEASE_NOTES.md
. Example:
My changelog looks like this:
I use this action to pick it and release it like:
and the errors will show:
in this case, I tried to write the output into a file and pick the file from GH CLI like:
The same error shown. I believe we have to escape "`" in my example and write it to a file: