Commit 31a5bfdc authored by Hanope's avatar Hanope Committed by Stephane Nicoll

Simplify escaping of newline characters when publishing release notes

Closes gh-14620
parent e7f100d5
...@@ -15,7 +15,7 @@ java -jar -Dreleasenotes.github.organization=${GITHUB_ORGANIZATION} -Dreleasenot ...@@ -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 \
......
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