summaryrefslogtreecommitdiff
path: root/bumpPkgrel
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-03-25 20:06:27 +0100
committerErich Eckner <git@eckner.net>2020-03-25 20:06:27 +0100
commit5671e739aa00d98f4e68e3e6819217c83cead1f2 (patch)
tree58c0c098671459b060f97b21a5633702ba76f8d2 /bumpPkgrel
parentc9f6c3a22a2d62ad5156218af85b32a8371ae7fd (diff)
downloadarchlinuxewe-5671e739aa00d98f4e68e3e6819217c83cead1f2.tar.xz
bumpVersion, bumpPkgrel: push submodules to all remotes
Diffstat (limited to 'bumpPkgrel')
-rwxr-xr-xbumpPkgrel6
1 files changed, 5 insertions, 1 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