tdlight-java/scripts/core/deploy_release.sh
Andrea Cavalli b27c736866 Use TDLib 1.7.10, add BOM, fix null updates, rewrite pom.xml
Fix #64: null updates sent to the updates handler
Fix gradle import issue (#61) by rewriting the maven dependency structure, and adding a BOM to being able to keep the natives version in sync with tdlight-java version
Fix #63 by adding the required dependencies for windows, linux and macOS in the README.md
2021-12-08 02:24:23 +01:00

19 lines
287 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
cd "../../"
cd "bom"
mvn -B -Drevision="${REVISION}" clean deploy
cd "../"
echo "Done."
exit 0