travis build: fix escaping of double quotes

closes #324

Cherry-picked 536280bb9810166651cfd2dc3e6a24b0bc0e2161
This commit is contained in:
Andreas Dangel 2017-04-14 11:53:54 +02:00
parent d1d9a2e2e2
commit e2b03e76d3
2 changed files with 5 additions and 1 deletions

View File

@ -18,7 +18,7 @@ RELEASE_BODY=$(tail -n +3 src/site/markdown/overview/changelog.md) # skips the f
RELEASE_BODY="${RELEASE_BODY//$'\\'/\\\\}"
RELEASE_BODY="${RELEASE_BODY//$'\r'/}"
RELEASE_BODY="${RELEASE_BODY//$'\n'/\\r\\n}"
RELEASE_BODY="${RELEASE_BODY//$'"'/\\$'"'}"
RELEASE_BODY="${RELEASE_BODY//'"'/\\\"}"
cat > release-edit-request.json <<EOF
{
"name": "$RELEASE_NAME",

View File

@ -17,6 +17,10 @@ This is a bug fixing release.
### Fixed Issues
* General
* [#324](https://github.com/pmd/pmd/issues/324): \[core] Automated release - github release notes missing
### API Changes
### External Contributions