tdlight-java-natives/scripts/core/deploy_release.sh

17 lines
277 B
Bash
Raw Normal View History

2020-10-10 15:08:26 +02:00
#!/bin/bash -e
# OTHER REQUIRED ENVIRONMENT VARIABLES:
# REVISION = <revision>
# Check variables correctness
if [ -z "${REVISION}" ]; then
echo "Missing parameter: REVISION"
exit 1
fi
cd ../../generated
2020-10-10 15:08:26 +02:00
2021-03-12 14:57:56 +01:00
mvn -B -q -Drevision=${REVISION} clean deploy
2020-10-10 15:08:26 +02:00
echo "Done."
exit 0