From 5671e739aa00d98f4e68e3e6819217c83cead1f2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 25 Mar 2020 20:06:27 +0100 Subject: bumpVersion, bumpPkgrel: push submodules to all remotes --- bumpVersion | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bumpVersion') 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 -- cgit v1.2.3-70-g09d2