fix: build git
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
nyyu 2022-12-28 21:18:12 +01:00
parent 223f7eaee5
commit b1501bddd7

View file

@ -9,6 +9,7 @@ build() {
if grep -c 'git+' PKGBUILD >/dev/null && ! grep -c '#tag=' PKGBUILD >/dev/null; then
makepkg --nodeps --nobuild --skippgpcheck --noconfirm
makepkg --printsrcinfo >.SRCINFO
if [[ "${upd}" = true ]]; then
update_pkg
fi
@ -26,7 +27,7 @@ build() {
fi
if ! compgen -G "/repo/${name}-${epoch}${ver}-${rel}-*.pkg.tar.zst" >/dev/null; then
if makepkg -s --skippgpcheck --noconfirm --sign || makepkg -s --skippgpcheck --nocheck --noconfirm --sign; then
if makepkg -s --nodeps --skippgpcheck --noconfirm --sign || makepkg -s --skippgpcheck --noconfirm --sign || makepkg -s --skippgpcheck --nocheck --noconfirm --sign; then
for pkg in *.pkg.tar.zst; do
cp "${pkg}"{,.sig} /repo/
repo-add -R -s /repo/nyyu.db.tar.zst /repo/"${pkg}"