frontEndUpdate update

This commit is contained in:
zhangkun9038@dingtalk.com 2022-10-08 07:17:44 +00:00
parent 4c1d6c8dcf
commit 2226c05195

View File

@ -6,10 +6,14 @@ fileName=$1 # html.zip zhuize.zip
projectPath=$2 # /etc/nginx /var/www
workPath=$3
ossLogPath=$4
user=$USER
if [ -n $5 ]; then
user=$5
fi
PATH=PATH:/usr/bin:/usr/sbin
projectName="${fileName%.*}" # html, zhuize
user="${workPath##*/}"
preName="${fileName%.*}"
function uploadLog()