summaryrefslogtreecommitdiff
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
parentc9f6c3a22a2d62ad5156218af85b32a8371ae7fd (diff)
downloadarchlinuxewe-5671e739aa00d98f4e68e3e6819217c83cead1f2.tar.xz
bumpVersion, bumpPkgrel: push submodules to all remotes
-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