From 986eb9c61e1ca83917a45d8b4c03c97673e81be2 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Thu, 19 Sep 2019 13:50:14 +0800 Subject: [PATCH] 20180083: Job [Hi365_SIT_Deploy_Android] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by ยงรตยบ~? --- jobs/Hi365_SIT_Deploy_Android/config.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jobs/Hi365_SIT_Deploy_Android/config.xml b/jobs/Hi365_SIT_Deploy_Android/config.xml index fc6ca8c1..463053ad 100644 --- a/jobs/Hi365_SIT_Deploy_Android/config.xml +++ b/jobs/Hi365_SIT_Deploy_Android/config.xml @@ -60,8 +60,10 @@ git_short_hash=$(git rev-parse --short HEAD) if [ $BUILD_BRANCH == "master" ] then build_type="release" + default_doc="main_uat.dart" else build_type="debug" + default_doc="main_dev.dart" fi output_path="${project_path}/build/app/outputs/apk/${build_type}" @@ -71,7 +73,7 @@ new_apk_name="Hi365_SIT_${current_date}_${git_short_hash}.apk" apk_path="${output_path}/${new_apk_name}" -flutter build apk --${build_type} -t lib/main_dev.dart +flutter build apk --${build_type} -t lib/${default_doc} # rename apk name mv ${output_path}/app-${build_type}.apk ${apk_path} -- 2.26.2