Fixed deploy/release tasks

This commit is contained in:
Erik C. Thauvin 2022-09-17 12:37:37 -07:00
parent 9b595490bd
commit 5f224edf6d
5 changed files with 20 additions and 12 deletions

11
release.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
./gradlew release
[ $? -eq 0 ] && sftp nix3.thauvin.us <<EOF
cd mobitopia/mobibot
lcd deploy
put *.jar
cd lib
rm *.jar
put lib/*.jar
EOF