mirror of
https://github.com/JasonHHouse/gaps.git
synced 2026-01-08 11:59:38 -06:00
15 lines
581 B
Bash
Executable File
15 lines
581 B
Bash
Executable File
#!/bin/bash
|
|
VERSION=0.8.0
|
|
JAR_VERSION="GapsWeb/target/GapsWeb-$VERSION.jar"
|
|
ZIP_VERSION="Gaps-$VERSION.zip"
|
|
./minify
|
|
mvn clean install deploy
|
|
docker buildx build --platform linux/ppc64le,linux/s390x,linux/amd64 -t housewrecker/gaps:latest -f Dockerfile --push .
|
|
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t housewrecker/gaps:arm-latest -f Dockerfile.arm64 --push .
|
|
mkdir -p GapsOnWindows
|
|
rm $ZIP_VERSION
|
|
rm GapsOnWindows/*.jar
|
|
rm GapsOnWindows/README.md
|
|
cp $JAR_VERSION GapsOnWindows/gaps.jar
|
|
cp README.md GapsOnWindows/
|
|
zip -r $ZIP_VERSION GapsOnWindows/ |