summarylogtreecommitdiffstats
path: root/bump-pkgver.sh
blob: e5c5d2c43017bd31d877a356d34148960a81e0ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

set -e

makepkg -sf
pkgver=$(grep "pkgver=" PKGBUILD | cut -d = -f 2)
makepkg --printsrcinfo > .SRCINFO
git add .SRCINFO PKGBUILD
git status
echo "Do you want to commit and push these stages changes? (Enter to confirm, Ctrl+C to abort)"
read
git commit -m "Bump to $pkgver"
git push