You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
239 B
Bash

2 years ago
#!/bin/sh -l
2 years ago
2 years ago
#set -e at the top of your script will make the script exit with an error whenever an error occurs (and is not explicitly handled)
set -eu
upx login $1 $2 $3
upx sync $4 $5 --delete
upx logout
echo 'Deploy Success'
exit 0