ci-build: adjust PKGEXT to zst

This commit is contained in:
Christoph Reiter
2020-01-17 08:28:06 +01:00
parent 43dbc4c0ec
commit fa8d2ce8a2
2 changed files with 6 additions and 3 deletions

View File

@@ -29,9 +29,9 @@ execute 'Approving recipe quality' check_recipe_quality
for package in "${packages[@]}"; do
execute 'Building binary' makepkg-mingw --noconfirm --noprogressbar --skippgpcheck --nocheck --syncdeps --rmdeps --cleanbuild
execute 'Building source' makepkg --noconfirm --noprogressbar --skippgpcheck --allsource --config '/etc/makepkg_mingw64.conf'
execute 'Installing' yes:pacman --noprogressbar --upgrade *.pkg.tar.xz
deploy_enabled && mv "${package}"/*.pkg.tar.xz artifacts
deploy_enabled && mv "${package}"/*.src.tar.gz artifacts
execute 'Installing' yes:pacman --noprogressbar --upgrade *"${PKGEXT}"
deploy_enabled && mv "${package}"/*"${PKGEXT}" artifacts
deploy_enabled && mv "${package}"/*"${SRCEXT}" artifacts
unset package
done

View File

@@ -4,6 +4,9 @@
# Author: Renato Silva <br.renatosilva@gmail.com>
# Author: Qian Hong <fracting@gmail.com>
PKGEXT='.pkg.tar.zst'
SRCEXT='.src.tar.gz'
# Enable colors
normal=$(tput sgr0)
red=$(tput setaf 1)