From ea7ed366d75df30814eadfc4c3cf3f1e5da34e92 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Wed, 11 Sep 2019 11:27:23 +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 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/jobs/Hi365_Android/config.xml b/jobs/Hi365_Android/config.xml index b05446cc..082d0322 100644 --- a/jobs/Hi365_Android/config.xml +++ b/jobs/Hi365_Android/config.xml @@ -49,6 +49,8 @@ project_path=$(pwd) +output_path="${project_path}/build/app/outputs/apk/release/" +app_version=`grep 'version:' pubspec.yaml | cut -d ' ' -f2` # determine build type by git branch if [ $BUILD_BRANCH == "master" ] @@ -58,7 +60,11 @@ else build_type="debug" fi -flutter build apk --${build_type} +app_name="hi365-${build_type}-${appversion}.apk" + +flutter build apk --${build_type} + +mv ${output_path}/app-${build_type}.apk ${output_path}/${app_name} -- 2.26.2