tcnksm / ghr

Upload multiple artifacts to GitHub Release in parallel
http://tcnksm.github.io/ghr/
MIT License
1.23k stars 80 forks source link

Release with -b attribute not working with html messages #121

Open ernitishkumar opened 4 years ago

ernitishkumar commented 4 years ago

When using -b flag for passing body of release.

If a complete html body is passed as release body consisting of html attributes we are getting syntax error on circleci

But the release is posted to github without release body.

pratikbin commented 3 years ago

I need the same with markdown body

danielhoherd commented 1 year ago

Is it possible this is due to double quoting issues? I just noticed a potential bug in a CI pipeline we have where we do -b "$body", but any double-quotes in $body (which are common in HTML) would cause a syntax error.

I found this issue while searching for a way to provide the body without running into quoting issues, such as reading the body from a file or by taking it from stdin.