summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbumpPkgrel6
-rwxr-xr-xbumpVersion6
2 files changed, 10 insertions, 2 deletions
diff --git a/bumpPkgrel b/bumpPkgrel
index a8671668f..110cf7833 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
diff --git a/bumpVersion b/bumpVersion
index a6a435083..3c3ac80a7 100755
--- a/bumpVersion
+++ b/bumpVersion
@@ -182,7 +182,11 @@ fi
if [ -d '.git' ] || [ -f '.git' ]; then
makepkg --printsrcinfo > .SRCINFO
git commit 'PKGBUILD' '.SRCINFO' -m "${paket} ${pkgver}-${pkgrel} -> ${remVer}-1"
- git push || exit 1
+ for remote in $(
+ git remote
+ ); do
+ git push "${remote}" || exit 1
+ done
cd ..
git commit "${paket}" -m "${paket} ${pkgver}-${pkgrel} -> ${remVer}-1"
else