diff --git a/jobs/Hi365_Android/config.xml b/jobs/Hi365_Android/config.xml index 3159d8ed3ed816f49877bd67184790165b49c9c8..192440f86ee11bec9039d15ec3e5e2b1f9412cb1 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}