fix ver
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nyyu 2021-05-19 12:16:23 +02:00
parent 111ec998f3
commit cb4a756643

View file

@ -1,9 +1,9 @@
#!/bin/bash
build() {
name=$(grep 'pkgname=' PKGBUILD | cut -d'=' -f2)
ver=$(grep 'pkgver=' PKGBUILD | cut -d'=' -f2)
rel=$(grep 'pkgrel=' PKGBUILD | cut -d'=' -f2)
name=$(grep '^pkgname=' PKGBUILD | cut -d'=' -f2)
ver=$(grep '^pkgver=' PKGBUILD | cut -d'=' -f2)
rel=$(grep '^pkgrel=' PKGBUILD | cut -d'=' -f2)
if ! compgen -G "/repo/$name-$ver-$rel-*.pkg.tar.zst" ; then
if makepkg -s --skippgpcheck --noconfirm || makepkg -s --skippgpcheck --nocheck --noconfirm ; then