Commit 4f73ef84 by 段志勇

Update auto_upload_pgy.sh

parent 7223d0ac
...@@ -63,7 +63,7 @@ readonly PGY_upload_log="${EBIZ_ENV}_${NOW}" ...@@ -63,7 +63,7 @@ readonly PGY_upload_log="${EBIZ_ENV}_${NOW}"
# 上传到蒲公英,并接收 Response # 上传到蒲公英,并接收 Response
PGY_RESPONSE=`curl -F "file=@/${EBIZ_IPA_PATH}" -F "uKey=${PGY_USER_KEY}" -F "_api_key=${PGY_API_KEY}" -F installType=2 -F password="${PGY_password}" -F "updateDescription=${PGY_upload_log}" ${PGY_UPLOAD_SERVER}` PGY_RESPONSE=`curl -F "file=@/${EBIZ_IPA_PATH}" -F "uKey=${PGY_USER_KEY}" -F "_api_key=${PGY_API_KEY}" -F installType=2 -F password="${PGY_password}" -F "updateDescription=${PGY_upload_log}" ${PGY_UPLOAD_SERVER}`
echo $PGY_RESPONSE
if [ "$?" -ne "0" ]; then if [ "$?" -ne "0" ]; then
echo_error "upload error" echo_error "upload error"
exit 1 exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment