fix(auto-update): run `git add` before commit

This commit is contained in:
MedzikUser 2022-05-19 16:07:09 +02:00
parent ea0f2a19c6
commit 566e7205ee
No known key found for this signature in database
GPG Key ID: A5FAC1E185C112DB
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ update-package() {
if [ "${GIT_COMMIT_PACKAGES}" = "true" ]
then
git add "${pkgdir}/built.conf"
git commit -m "upgpkg: '${pkgname}' to '${latest_version}'"
fi
@ -100,6 +101,7 @@ update-package() {
if [ "${GIT_COMMIT_PACKAGES}" = "true" ]
then
git add "${pkgdir}/PKGBUILD"
git commit -m "upgpkg: '${pkgname}' to '${latest_version}'"
fi