no check if fail
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nyyu 2021-05-19 12:03:41 +02:00
parent be335a4b6d
commit 3d0713d088
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ steps:
- name: repo
path: /repo
commands:
- echo '[nyyu]\nServer = https://archlinux.nyyu.dev/nyyu\nSigLevel = Never'
- pacman -Syu git --noconfirm
- useradd build -m
- "echo 'build ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"

View File

@ -6,7 +6,7 @@ build() {
rel=$(grep 'pkgrel=' PKGBUILD | cut -d'=' -f2)
if ! compgen -G "/repo/$name-$ver-$rel-*.pkg.tar.zst" ; then
if makepkg -s --skippgpcheck --noconfirm ; then
if makepkg -s --skippgpcheck --noconfirm || makepkg -s --skippgpcheck --nocheck --noconfirm ; then
for pkg in *.pkg.tar.zst ; do
cp "$pkg" /repo/
repo-add /repo/nyyu.db.tar.zst /repo/"$pkg"