1
0
Fork 0
forked from s3lph/matemat

Drop privileges for makepkg.

This commit is contained in:
s3lph 2018-10-19 21:57:41 +02:00
parent bffd31fe81
commit 9439c76f30

View file

@ -91,7 +91,7 @@ build_archlinux:
- cd package/archlinux - cd package/archlinux
- mv matemat/usr/bin/matemat matemat/usr/lib/matemat/matemat - mv matemat/usr/bin/matemat matemat/usr/lib/matemat/matemat
- rm -rf matemat/usr/bin - rm -rf matemat/usr/bin
- makepkg -s MATEMAT_VERSION=${MATEMAT_VERSION} - sudo -u nobody makepkg --syncdeps MATEMAT_VERSION=${MATEMAT_VERSION}
- mv matemat-${MATEMAT_VERSION}-1-any.pkg.tar.xz "matemat-${MATEMAT_VERSION}+${CI_COMMIT_REF_NAME}-1-any.pkg.tar.xz" - mv matemat-${MATEMAT_VERSION}-1-any.pkg.tar.xz "matemat-${MATEMAT_VERSION}+${CI_COMMIT_REF_NAME}-1-any.pkg.tar.xz"
artifacts: artifacts:
paths: paths: