summaryrefslogtreecommitdiff
path: root/bumpPkgrel
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-12-02 21:48:07 +0100
committerErich Eckner <git@eckner.net>2020-12-02 21:48:07 +0100
commit10c4033b29f704bfee9e502c46d88666444a5052 (patch)
treed7abe284a85a83d2a1835a272f0e5e50a9f8fb52 /bumpPkgrel
parent5f0b9a765ca918f0a6b7792b27f7e041399535d9 (diff)
downloadarchlinuxewe-10c4033b29f704bfee9e502c46d88666444a5052.tar.xz
commit-package: status-quo
Diffstat (limited to 'bumpPkgrel')
-rwxr-xr-xbumpPkgrel14
1 files changed, 1 insertions, 13 deletions
diff --git a/bumpPkgrel b/bumpPkgrel
index 343474554..54a45a0cd 100755
--- a/bumpPkgrel
+++ b/bumpPkgrel
@@ -143,19 +143,7 @@ else
< 'PKGBUILD' \
| sponge 'PKGBUILD'
if ${commit}; then
- if [ -d '.git' ] || [ -f '.git' ]; then
- makepkg --printsrcinfo > .SRCINFO
- git commit 'PKGBUILD' '.SRCINFO' -m "${pkg}: rebuild"
- for remote in $(
- git remote
- ); do
- git push "${remote}" || exit 1
- done
- cd ..
- git commit "${pkg}" -m "${pkg}: rebuild"
- else
- git commit 'PKGBUILD' -m "${pkg}: rebuild"
- fi
+ ../commit-package "${pkg}: rebuild"
fi
fi