This commit is contained in:
parent
be335a4b6d
commit
3d0713d088
@ -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"
|
||||
|
2
build.sh
2
build.sh
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user