summaryrefslogtreecommitdiff
path: root/bumpVersion
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-18 16:13:15 +0200
committerErich Eckner <git@eckner.net>2016-04-18 16:13:15 +0200
commite76b6a335d2984b0e3e5008ef0b0b2f4684797d0 (patch)
treec1d7ca384c58ce0059e1d392b49416367073585d /bumpVersion
parent72493ea743b4e8e88f434cd43a98014728999fa7 (diff)
downloadarchlinuxewe-e76b6a335d2984b0e3e5008ef0b0b2f4684797d0.tar.xz
bumpVersion macht jetzt auch einen "git commit"
Diffstat (limited to 'bumpVersion')
-rwxr-xr-xbumpVersion3
1 files changed, 2 insertions, 1 deletions
diff --git a/bumpVersion b/bumpVersion
index d608e36b8..d06598665 100755
--- a/bumpVersion
+++ b/bumpVersion
@@ -40,4 +40,5 @@ sed 's|sha512sums=.*$|'"${summen}"'|' -i PKGBUILD
rm -rf pkg src
sudo pacman -Sy
-makepkg -fcsr
+makepkg -fcsr || exit 1
+git commit PKGBUILD -m "$1 ${pkgver} -> ${remVer}"