From: Elan Ruusamäe Date: Sat, 6 Mar 2021 07:39:29 +0000 (+0200) Subject: Update commit message style to Git not CVS X-Git-Tag: auto/th/rpm-build-tools-4.10-1~8 X-Git-Url: http://git.pld-linux.org/?p=packages%2Frpm-build-tools.git;a=commitdiff_plain;h=357c6ac Update commit message style to Git not CVS --- diff --git a/relup.sh b/relup.sh index 18977d7..5739197 100755 --- a/relup.sh +++ b/relup.sh @@ -208,8 +208,9 @@ for pkg in "$@"; do # commit the changes msg="" - [ -n "$message" ] && msg="$msg- $message$n" - msg="$msg- release ${rel%%%*} (by relup.sh)" + [ -n "$message" ] && msg="${msg}$message$n$n" + msg="${msg}Release ${rel%%%*} (by relup.sh)" + echo git commit -m "$msg" $spec if [ "$test" != 1 ]; then cd $pkgdir