From 5b8228bdcb00edc31b937fd2cd010f38d0112ea6 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Wed, 11 Sep 2019 18:16:12 +0800 Subject: [PATCH] 20180082: Job [Hi365_Android] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by ³¯¾_¶§ --- jobs/Hi365_Android/config.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jobs/Hi365_Android/config.xml b/jobs/Hi365_Android/config.xml index 3159d8ed..192440f8 100644 --- a/jobs/Hi365_Android/config.xml +++ b/jobs/Hi365_Android/config.xml @@ -49,7 +49,10 @@ project_path=$(pwd) -app_version=$(grep 'version:' ${project_path}/pubspec.yaml | cut -d ' ' -f2) + +cd ${project_path}/android + +app_version=$(grep 'version:' pubspec.yaml | cut -d ' ' -f2) # determine build type by git branch if [ $BUILD_BRANCH == "master" ] @@ -60,7 +63,7 @@ else fi output_path="${project_path}/build/app/outputs/apk/${build_type}" -app_name="hi365-${build_type}-${app_version}.apk" +app_name="hi365_SIT_${build_type}-${app_version}.apk" flutter build apk --${build_type} -- 2.26.2