summarylogtreecommitdiffstats
path: root/update.sh
blob: 0f1f73291316c8cdbdb121e887c032368d7ecc30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
set -e

makepkg -sf
updpkgsums
makepkg --printsrcinfo > .SRCINFO

CURRENT_VERSION=$(grep "pkgver=" PKGBUILD)
CURRENT_VERSION=${CURRENT_VERSION#*=}

echo "CURRENT_VERSION: ${CURRENT_VERSION}"
git commit -v -a -m "Update to ${CURRENT_VERSION}"