Renamed ReleaseInfo.mustache to version.mustache.

Added deploy script.
This commit is contained in:
Erik C. Thauvin 2021-04-29 19:59:08 -07:00
parent 8a945b2dc6
commit f92f7d26b1
5 changed files with 42 additions and 65 deletions

13
deploy.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
DEPLOYDIR=/home/erik/mobitopia/mobibot
if [ -f "deploy/mobibot.jar" ]
then
/bin/cp deploy/mobibot.jar $DEPLOYDIR
rm -rf $DEPLOYDIR/lib/*.jar
cp deploy/lib/*.jar $DEPLOYDIR/lib
chmod 755 $DEPLOYDIR/*.jar $DEPLOYDIR/lib/*.jar
else
echo "mobibot.jar not found."
fi