Renamed ReleaseInfo.mustache to version.mustache.
Added deploy script.
This commit is contained in:
parent
8a945b2dc6
commit
f92f7d26b1
5 changed files with 42 additions and 65 deletions
13
deploy.sh
Executable file
13
deploy.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue