Hacky-Quizbot/deployment-script.sh

13 lines
464 B
Bash

#!/bin/bash
echo "Deploying Hacky Quizbot...
$(date "+%Y-%m-%d %I:%M:%S%p UTC%:z")
================================================================================"
# build the thing into a big jar with all the dependencies
mvn clean compile assembly:single
# TODO: Somehow tell a service that manages the bot to shut it down and replace it with the updated version?
echo "================================================================================
Done."