summaryrefslogtreecommitdiff
path: root/bumpPython
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 /bumpPython
parent5f0b9a765ca918f0a6b7792b27f7e041399535d9 (diff)
downloadarchlinuxewe-10c4033b29f704bfee9e502c46d88666444a5052.tar.xz
commit-package: status-quo
Diffstat (limited to 'bumpPython')
-rwxr-xr-xbumpPython13
1 files changed, 3 insertions, 10 deletions
diff --git a/bumpPython b/bumpPython
index c7eb39166..89c45146f 100755
--- a/bumpPython
+++ b/bumpPython
@@ -53,16 +53,9 @@ for pkgbuild in "${pkgbuilds[@]}"; do
s@'"'python>=${pymajor}\.[0-9]\+'@'python>=${pyver}'"'@
s@'"'python<${pymajor}\.[0-9]\+'@'python<${pyverupper}'"'@
' "${pkgbuild}"
- if [ -d "${pkgbuild%/*}"'/.git' ] || [ -f "${pkgbuild%/*}"'/.git' ]; then
- cd "${pkgbuild%/*}"
- makepkg --printsrcinfo > .SRCINFO
- git commit 'PKGBUILD' '.SRCINFO' -m "${pkgbuild%/*}: rebuild against new python ${pyver}"
- git push || exit 1
- cd ..
- git add "${pkgbuild%/*}"
- else
- git add "${pkgbuild}"
- fi
+ cd "${pkgbuild%/*}"
+ ../commit-package
+ cd ..
done