diff --git a/jobs/Hi365_iOS/config.xml b/jobs/Hi365_iOS/config.xml index 2da888fc9d66da2a162b96ff64259c595662338a..c8b4a932ef583abc9cd9cded8ab70bc6e8829b08 100644 --- a/jobs/Hi365_iOS/config.xml +++ b/jobs/Hi365_iOS/config.xml @@ -66,6 +66,8 @@ cd $project_path/ios now=$(date +"%Y_%m_%d_%H:%M") +app_version=$(grep 'version:' pubspec.yaml | cut -d ' ' -f2) + scheme="Runner" # package configuration for fastlane @@ -94,10 +96,10 @@ output_path="${project_path}/ipa" archive_path="$output_path/hi365_${export_method}_${now}.xcarchive" # ipa export path -ipa_path="$output_path/hi365_${BUILD_TYPE}_${BUILD_BRANCH}_${BUILD_REPOSITORY}_${now}.ipa" +ipa_path="$output_path/hi365_${app_version}.ipa" # ipa name -ipa_name="Hi365_${BUILD_TYPE}_${BUILD_BRANCH}_${now}.ipa" +ipa_name="Hi365_${app_version}.ipa" commit_msg="$1" # show env settings