diff --git a/java_tools/ts_plugin/upload.sh b/java_tools/ts_plugin/upload.sh new file mode 100644 index 0000000000..cee7a2ccd6 --- /dev/null +++ b/java_tools/ts_plugin/upload.sh @@ -0,0 +1,11 @@ +#!/bin/bash + + +if [ ! "$1" ] || [ ! "$2" ] || [ ! "$3" ]; then + echo "No Secrets" + exit 0 +fi + +echo -e "\nUploading plugin body" + +ncftpput -m -R -v -u "$1" -p "$2" "$3" build/jar/rusefi_plugin_body.jar autoupdate