tdlight-java-natives/scripts/core/deploy_release.sh
2021-09-11 12:27:22 +02:00

19 lines
306 B
Bash
Executable File

#!/bin/bash -e
# OTHER REQUIRED ENVIRONMENT VARIABLES:
# REVISION = <revision>
# Check variables correctness
if [ -z "${REVISION}" ]; then
echo "Missing parameter: REVISION"
exit 1
fi
source ./setup-variables.sh
cd ../../generated
mvn -B -q -Drevision=${REVISION} clean deploy
echo "Done."
exit 0