mirror of
https://github.com/JasonHHouse/gaps.git
synced 2026-04-26 02:48:18 -05:00
17 lines
570 B
Bash
Executable File
17 lines
570 B
Bash
Executable File
#!/bin/bash
|
|
VERSION=0.4.0-SNAPSHOT
|
|
DOCKER_SSL_LATEST="housewrecker/gaps:latest"
|
|
DOCKER_NO_SSL_LATEST="housewrecker/gaps:latest-no-ssl"
|
|
JAR_VERSION="GapsWeb/target/GapsWeb-$VERSION.jar"
|
|
ZIP_VERSION="Gaps-$VERSION.zip"
|
|
mvn clean install spotbugs:check
|
|
cypress run
|
|
docker build -f Dockerfile.ssl -t $DOCKER_SSL_LATEST .
|
|
docker push $DOCKER_SSL_LATEST
|
|
docker build -f Dockerfile.no-ssl -t $DOCKER_NO_SSL_LATEST .
|
|
docker push $DOCKER_NO_SSL_LATEST
|
|
mkdir -p GapsOnWindows
|
|
rm $ZIP_VERSION
|
|
rm GapsOnWindows/*.jar
|
|
cp $JAR_VERSION GapsOnWindows/
|
|
zip -r $ZIP_VERSION GapsOnWindows/ |