]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
Update commit message style to Git not CVS
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 6 Mar 2021 07:39:29 +0000 (09:39 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Sat, 6 Mar 2021 07:39:29 +0000 (09:39 +0200)
relup.sh

index 18977d7e405299522481c334c971d38c2f36c96e..573919793d970b6f736a360cd0b33db7190a8464 100755 (executable)
--- a/relup.sh
+++ b/relup.sh
@@ -208,8 +208,9 @@ for pkg in "$@"; do
 
        # commit the changes
        msg=""
 
        # 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
        echo git commit -m "$msg" $spec
        if [ "$test" != 1 ]; then
                cd $pkgdir
This page took 0.037145 seconds and 4 git commands to generate.