mirror of https://github.com/built-aur/packages
fix(auto-update): run `git add` before commit
This commit is contained in:
parent
ea0f2a19c6
commit
566e7205ee
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue