added random id generation to deployement-script.sh

milan
Shwoomple 2022-02-20 13:06:47 +05:30
parent 66d7594744
commit 97f8b2bc7a
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ $(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
cat /dev/urandom | head -c 10 | base64 > id.txt
# TODO: Somehow tell a service that manages the bot to shut it down and replace it with the updated version?
echo "================================================================================