Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=12abfd8ce92ef43b67e86a51e859ffc8b41c47eb

commit 12abfd8ce92ef43b67e86a51e859ffc8b41c47eb
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Sat Dec 29 00:44:43 2007 +0100

bumppkg: new --silentpush option

diff --git a/bumppkg b/bumppkg
index eb0e661..846a747 100755
--- a/bumppkg
+++ b/bumppkg
@@ -118,6 +118,15 @@ do_build()
Fmessage "done, testing time!"
}

+do_push()
+{
+       if [ "$1" == "--push" ]; then
+               repoman -t $tree -k push
+       elif [ "$1" == "--silentpush" ]; then
+               dg push
+       fi
+}
+
USE_COLOR="y"
. /usr/lib/frugalware/fwmakepkg
. /etc/makepkg.conf
@@ -151,8 +160,8 @@ if [ "$1" == "--rebuild" ]; then
repoman rec "$1"
shift 1
fi
-       if [ "$1" == "--push" ]; then
-               repoman -t $tree -k push
+       if [ "$1" == "--push" -o "$1" == "--silentpush" ]; then
+               do_push $1
fi
exit 0
fi
@@ -163,6 +172,6 @@ update_pkgrel
src_cleanup
src_download $tree
do_build $tree
-if [ "$1" == "--push" ]; then
-       repoman -t $tree -k push
+if [ "$1" == "--push" -o "$1" == "--silentpush" ]; then
+       do_push $1
fi
diff --git a/bumppkg.txt b/bumppkg.txt
index 5ad7439..da0348c 100644
--- a/bumppkg.txt
+++ b/bumppkg.txt
@@ -20,6 +20,9 @@ bumppkg [options]
--push::
Push the changes right after committing locally.

+--silentpush::
+       Call only dg push, not repoman push.
+
--rebuild::
Don't bump to a newer version, but increment the package release and
rebuild the package.
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to