diff --git a/scripts/changelog_to_json.sh b/scripts/changelog_to_json.sh index df43b2d4..45175630 100755 --- a/scripts/changelog_to_json.sh +++ b/scripts/changelog_to_json.sh @@ -1,2 +1,4 @@ sed -i "s/\"/'/g" CHANGELOG.md # change double to single quotes -cat CHANGELOG.md | tr -d "\n" | sed 's/- /\\n- /g' +#cat CHANGELOG.md | tr -d "\n" | sed 's/- /\\n- /g' +sed ':a;N;$!ba;s/\n/\\n/g' CHANGELOG.md +