1
0
mirror of https://github.com/kami-blue/client synced 2025-01-06 23:09:28 +00:00

[fix] Changelog formatting again

This commit is contained in:
lv 2021-02-02 13:56:02 -05:00
parent 6863ae75f3
commit 4f3c836915
No known key found for this signature in database
GPG Key ID: AF236A45B0255DA8

View File

@ -12,7 +12,7 @@ source "$__scripts"
check_git || exit $?
check_var "1" "$1" || exit $?
CHANGELOG="$(git log --format=%s "$1"..."$2" | sed ':a;N;$!ba;s/\n/\\n/g' | sed 's/"/\\"/g')" || {
CHANGELOG="$(git log --format=%s "$1"..."$2" | sed ':a;N;$!ba;s/\n/\\n/g' | sed "s/\"/''/g")" || {
echo "[changelog] Failed to create changelog from commits, exiting." >&2
exit 1
}