minetest-mapserver: fixup

This commit is contained in:
Starbeamrainbowlabs 2022-11-07 00:40:44 +00:00
parent c54852d143
commit b92e2034b7
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -1,11 +1,11 @@
#!/usr/bin/env bash
# The architecture - possible values: arm (default), x86, x86_64
# arch="${arch:-arm}";
arch="${arch:-arm}";
# download_url="https://github.com/minetest-mapserver/mapserver/releases/latest/download/mapserver-linux-${arch}";
download_url="$(curl -sSL https://api.github.com/repos/minetest-mapserver/mapserver/releases/58437588/assets | jq --raw-output '.[] | select(.browser_download_url | contains("_armv")) | .url' | head -n1)";
download_url="$(curl -sSL https://api.github.com/repos/minetest-mapserver/mapserver/releases/58437588/assets | jq --raw-output '.[] | select(.browser_download_url | contains("_armv")) | .browser_download_url' | head -n1)";
# The registry to push to
DOCKER_REGISTRY="${DOCKER_REGISTRY:-registry.service.mooncarrot.space:5000/}";