fix: upd git with nightly pkg
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
nyyu 2022-11-16 22:30:02 +01:00
parent d93f1a8329
commit 721ec5d27e

View File

@ -12,6 +12,7 @@ update_pkg() {
if updpkgsums; then
makepkg --printsrcinfo >.SRCINFO
ver=$(grep 'pkgver' .SRCINFO | cut -d'=' -f2 | tr -d ' ')
git add .SRCINFO PKGBUILD
if git commit -m "$(basename $(pwd)): update to ${ver} [CI SKIP]"; then
git push --set-upstream origin "${CI_COMMIT_BRANCH}"