14 lines
515 B
Bash
14 lines
515 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
|
|
dd if=/dev/urandom bs=1 count=20 | base64 > id.txt
|
|
# TODO: Somehow tell a service that manages the bot to shut it down and replace it with the updated version?
|
|
|
|
echo "================================================================================
|
|
Done."
|