Commit 1da5d346 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #14620 from Hanope

* pr/14620:
  Simplify escaping of newline characters when publishing release notes
parents e7f100d5 31a5bfdc
......@@ -15,7 +15,7 @@ java -jar -Dreleasenotes.github.organization=${GITHUB_ORGANIZATION} -Dreleasenot
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 \
-s \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment