ChromaCore/deploy.sh
Norbi Peti 4519d5f64a
Added /primerestart
And started using new plugin updater
#34
2018-05-31 03:07:12 +02:00

11 lines
355 B
Bash
Executable file

#!/bin/sh
FILENAME=$(find ButtonCore/target/ -maxdepth 1 ! -name '*original*' -name '*.jar')
echo Found file: $FILENAME
if [ $1 = 'production' ]; then
echo Production mode
echo $UPLOAD_KEY > upload_key
chmod 400 upload_key
yes | scp -B -i upload_key -o StrictHostKeyChecking=no $FILENAME travis@server.figytuna.com:/minecraft/main/TBMC/pluginupdates
fi