rusefi-1/java_tools/ts_plugin/upload_plugin.sh

12 lines
211 B
Bash
Executable File

#!/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" autoupdate build/jar/rusefi_plugin_body.jar