Commit 759a7b61 by app.developer

修改和优化

parent fd35dcb4
......@@ -58,6 +58,8 @@ PGY_UPLOAD_SERVER="https://qiniu-storage.pgyer.com/apiv1/app/upload"
PGY_password="$(($RANDOM%9999+1111))"
PGY_upload_log="${EBIZ_ENV}_${NOW}"
echo "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}"
# 上传到蒲公英,并接收 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}`
RESPONSE="${PGY_RESPONSE}"
......
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