summaryrefslogtreecommitdiff
path: root/bumpPkgrel
diff options
context:
space:
mode:
Diffstat (limited to 'bumpPkgrel')
-rwxr-xr-xbumpPkgrel6
1 files changed, 5 insertions, 1 deletions
diff --git a/bumpPkgrel b/bumpPkgrel
index a8671668..110cf783 100755
--- a/bumpPkgrel
+++ b/bumpPkgrel
@@ -28,7 +28,11 @@ if [ $# -eq 1 ]; then
if [ -d '.git' ] || [ -f '.git' ]; then
makepkg --printsrcinfo > .SRCINFO
git commit 'PKGBUILD' '.SRCINFO' -m "${pkg}: rebuild"
- git push || exit 1
+ for remote in $(
+ git remote
+ ); do
+ git push "${remote}" || exit 1
+ done
cd ..
git commit "${pkg}" -m "${pkg}: rebuild"
else