aur/.util.sh
nyyu db806626d7
All checks were successful
continuous-integration/drone/push Build is passing
add auto update drone
2021-07-26 20:34:17 +02:00

19 lines
298 B
Bash

#!/bin/sh
update_pkg() {
updpkgsums > /dev/null 2>&1
if [ $? -eq 0 ]
then
makepkg --printsrcinfo > .SRCINFO
git add .SRCINFO PKGBUILD
git commit -m "$(basename $(pwd)): update to $ver" > /dev/null 2>&1
if [ $? -eq 0 ]
then
git push
fi
fi
}