summarylogtreecommitdiffstats
path: root/bumpversion.sh
blob: 5cfd36d495941c56aa993e602b0a45654263b5b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
set -eu
usage(){
	echo "${0} \$version"
	exit 1
}

[[ $# -ne 1 ]] && usage
sed -i'' 's/^pkgver=.*$/pkgver='"${1}"'/' PKGBUILD
updpkgsums
makepkg --printsrcinfo > .SRCINFO