minecraft-pi-docker/scripts/package.sh

14 lines
348 B
Bash
Raw Normal View History

2020-09-27 00:48:46 +00:00
#!/bin/sh
set -e
2022-03-09 23:47:31 +00:00
# Generate
2022-05-11 22:24:03 +00:00
./scripts/tools/generate-appimage-builder-yaml.js "$1" "$2"
2021-06-17 21:32:24 +00:00
2022-03-09 23:47:31 +00:00
# Build/Package
appimage-builder --recipe AppImageBuilder.yml
2022-03-10 02:23:41 +00:00
# Move ZSync
2022-06-10 03:10:05 +00:00
rm -f "./out/minecraft-pi-reborn-$1-latest-$2.AppImage.zsync"
2022-03-10 02:23:41 +00:00
mv "./minecraft-pi-reborn-$1-$(cat VERSION)-$2.AppImage.zsync" "./out/minecraft-pi-reborn-$1-latest-$2.AppImage.zsync"