summaryrefslogtreecommitdiff
path: root/bumpPython
diff options
context:
space:
mode:
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