blob: d83d9970ee670e8a612313735de2bd1400b1043b (
plain)
1
2
3
4
5
|
ver=$(curl https://api.github.com/repos/razaqq/potatoalert/releases/latest -s | jq .name -r)
echo Updating to $ver
sed -ir "s/pkgver='[0-9]\+\.[0-9]\+\.[0-9]\+'/pkgver='$ver'/g" PKGBUILD
updpkgsums
makepkg --printsrcinfo > .SRCINFO
|