Commit 39af14cd by app.developer

Update auto_package_apk.sh

parent 67d27bc1
BUILD_ENV=$1 BUILD_ENV=$1
BUILD_TYPE=$2 BUILD_TYPE=$2
PGY_API_KEY=$3 PGY_API_KEY=$3
PGY_USER_KEY=$4 PGY_USER_KEY=$4
DD_HOST_URL=$5 DD_HOST_URL=$5
DD_MESSAGE=$6 DD_PUSH=$6
DD_MESSAGE=$7"."
COLOR_Cyan='\033[0;36m' COLOR_Cyan='\033[0;36m'
COLOR_Red='\033[41;37m' COLOR_Red='\033[41;37m'
...@@ -43,7 +43,7 @@ BUILD_NUMBER=${VERSION[1]//\'/} ...@@ -43,7 +43,7 @@ BUILD_NUMBER=${VERSION[1]//\'/}
echo_log "===== 打包耗时:${SECONDS}s =====" echo_log "===== 打包耗时:${SECONDS}s ====="
# 上传到蒲公英 (以上调试完成后,再打开以下注释) # 上传到蒲公英 (以上调试完成后,再打开以下注释)
if [ "yes" == "$DD_MESSAGE" ]; then if [ "yes" == "$DD_PUSH" ]; then
sh ${PROJECT_DIR}/apk_script/auto_upload_pgy.sh ${APK_PATH} ${BUILD_ENV} ${BUILD_NUMBER} ${PGY_API_KEY} ${PGY_USER_KEY} ${DD_HOST_URL} sh ${PROJECT_DIR}/apk_script/auto_upload_pgy.sh ${APK_PATH} ${BUILD_ENV} ${BUILD_NUMBER} ${PGY_API_KEY} ${PGY_USER_KEY} ${DD_HOST_URL}
else else
sh ${PROJECT_DIR}/apk_script/auto_upload_pgy.sh ${APK_PATH} ${BUILD_ENV} ${BUILD_NUMBER} ${PGY_API_KEY} ${PGY_USER_KEY} sh ${PROJECT_DIR}/apk_script/auto_upload_pgy.sh ${APK_PATH} ${BUILD_ENV} ${BUILD_NUMBER} ${PGY_API_KEY} ${PGY_USER_KEY}
......
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