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" ]
|
if [ "${GIT_COMMIT_PACKAGES}" = "true" ]
|
||||||
then
|
then
|
||||||
|
git add "${pkgdir}/built.conf"
|
||||||
git commit -m "upgpkg: '${pkgname}' to '${latest_version}'"
|
git commit -m "upgpkg: '${pkgname}' to '${latest_version}'"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -100,6 +101,7 @@ update-package() {
|
||||||
|
|
||||||
if [ "${GIT_COMMIT_PACKAGES}" = "true" ]
|
if [ "${GIT_COMMIT_PACKAGES}" = "true" ]
|
||||||
then
|
then
|
||||||
|
git add "${pkgdir}/PKGBUILD"
|
||||||
git commit -m "upgpkg: '${pkgname}' to '${latest_version}'"
|
git commit -m "upgpkg: '${pkgname}' to '${latest_version}'"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue