Files
gaps/build
Jason House 72e59eed12 0.8.0
2020-09-18 11:52:24 +09:00

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/