tdlight-java-natives/scripts/deploy_release.sh

17 lines
252 B
Bash
Raw Normal View History

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