diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index da43306..211851a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -84,7 +84,7 @@ build_archlinux: stage: build image: base/devel:latest # Use an archlinux image instead of the customized debian image. script: - - pacman -Sy --noconfirm python python-setuptools python-pip python-wheel + - pacman -Sy --noconfirm python python-setuptools python-pip python-wheel python-jinja python-pillow python-magic file - export MATEMAT_VERSION=$(python -c 'import matemat; print(matemat.__version__)') - cp -r static/ package/archlinux/matemat/usr/lib/matemat/static/ - cp -r templates/ package/archlinux/matemat/usr/lib/matemat/templates/ @@ -93,7 +93,7 @@ build_archlinux: - mv matemat/usr/bin/matemat matemat/usr/lib/matemat/matemat - rm -rf matemat/usr/bin - sed -re "s/__VERSION__/${MATEMAT_VERSION}/g" -i PKGBUILD - - sudo -u nobody makepkg --syncdeps + - sudo -u nobody makepkg - mv matemat-${MATEMAT_VERSION}-1-any.pkg.tar.xz "matemat-${MATEMAT_VERSION}+${CI_COMMIT_REF_NAME}-1-any.pkg.tar.xz" artifacts: paths: