2022-02-19 18:59:54 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo "Deploying Hacky Quizbot...
|
2022-02-19 19:56:57 +01:00
|
|
|
$(date "+%Y-%m-%d %I:%M:%S%p UTC%:z")
|
2022-02-19 18:59:54 +01:00
|
|
|
================================================================================"
|
|
|
|
|
2022-02-20 02:23:44 +01:00
|
|
|
# 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?
|
2022-02-19 18:59:54 +01:00
|
|
|
|
|
|
|
echo "================================================================================
|
|
|
|
Done."
|