Fix Archlinux build
This commit is contained in:
parent
093a40fefa
commit
aa05cfa296
1 changed files with 4 additions and 4 deletions
|
@ -105,7 +105,7 @@ build_debian:
|
||||||
|
|
||||||
build_archlinux:
|
build_archlinux:
|
||||||
stage: build
|
stage: build
|
||||||
image: archlinux/base:latest # Use an archlinux image instead of the customized debian image.
|
image: archlinux:latest # Use an archlinux image instead of the customized debian image.
|
||||||
script:
|
script:
|
||||||
- find package/archlinux -name .gitkeep -delete
|
- find package/archlinux -name .gitkeep -delete
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
|
@ -131,12 +131,12 @@ build_archlinux:
|
||||||
- sed -re "s/__VERSION__/${SPACEAPI_SERVER_VERSION}/g" -i PKGBUILD
|
- sed -re "s/__VERSION__/${SPACEAPI_SERVER_VERSION}/g" -i PKGBUILD
|
||||||
- sudo -u nobody makepkg -c
|
- sudo -u nobody makepkg -c
|
||||||
# Run namcap
|
# Run namcap
|
||||||
- sudo -u nobody namcap *.pkg.tar.xz
|
- sudo -u nobody namcap *.pkg.tar.*
|
||||||
# Generate checksum
|
# Generate checksum
|
||||||
- sha256sum *.pkg.tar.xz > SHA256SUMS
|
- sha256sum *.pkg.tar.* > SHA256SUMS
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- "package/archlinux/*.pkg.tar.xz"
|
- "package/archlinux/*.pkg.tar.*"
|
||||||
- package/archlinux/SHA256SUMS
|
- package/archlinux/SHA256SUMS
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
|
|
Loading…
Reference in a new issue