summaryrefslogtreecommitdiff
path: root/bumpVersion
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2024-07-28 14:55:40 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2024-07-28 14:55:40 +0200
commitbb5bb714465103aac3b7506bde7940d9d6887f5b (patch)
tree2505189af395df66914d59c7da8909a49ec124fe /bumpVersion
parent74895b1bc6b4c065279717b2a59b0408a8a380d7 (diff)
downloadarchlinuxewe-bb5bb714465103aac3b7506bde7940d9d6887f5b.tar.xz
bumpVersion: add Pkgbuild patches for building
Diffstat (limited to 'bumpVersion')
-rwxr-xr-xbumpVersion11
1 files changed, 7 insertions, 4 deletions
diff --git a/bumpVersion b/bumpVersion
index 5e80ce88b..039ad19b4 100755
--- a/bumpVersion
+++ b/bumpVersion
@@ -219,10 +219,13 @@ fi
rm -rf "src" "pkg"
sudo pacman -Sy
-makepkg -fcsr --noconfirm --asdeps || exit 1
-for pkg in $(makepkg --packagelist); do
- namcap "${pkg}" || exit 1
-done
+../addPkgbuildPatch add
+makepkg -fcsr --noconfirm --asdeps || {
+ err=$?
+ git checkout PKGBUILD
+ exit ${err}
+}
+../addPkgbuildPatch del
../commit-package "${paket} ${pkgver}-${pkgrel} -> ${remVer}-1"
>&2 echo '... done'