Simplify escaping of newline characters when publishing release notes

Closes gh-14620
pull/14460/merge
Hanope 6 years ago committed by Stephane Nicoll
parent e7f100d5d7
commit 31a5bfdcba

@ -15,7 +15,7 @@ java -jar -Dreleasenotes.github.organization=${GITHUB_ORGANIZATION} -Dreleasenot
popd > /dev/null popd > /dev/null
body=$( sed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g' release-notes-repo/release-notes.md ) body=$( while read line; do echo -n "$line\\n"; done < release-notes-repo/release-notes.md )
curl \ curl \
-s \ -s \

Loading…
Cancel
Save