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

19 lines
331 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
2021-09-11 12:27:22 +02:00
source ./setup-variables.sh
cd ../../generated
2020-10-10 15:08:26 +02:00
2021-10-22 11:03:58 +02:00
mvn -B -DrevisionNumber="${REVISION}" -DrevisionSuffix="" clean deploy
2020-10-10 15:08:26 +02:00
echo "Done."
exit 0