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:
parent
6863ae75f3
commit
4f3c836915
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user