Commit 709e0346 authored by YM-RD-AP01\ymadmin's avatar YM-RD-AP01\ymadmin

20180082: Job [Deploy_Hi365_Android_PROD] configuration updated

Change performed by ³¯¾_¶§
parent cd286895
...@@ -71,9 +71,9 @@ current_date=$(date +"%Y%m%d") ...@@ -71,9 +71,9 @@ current_date=$(date +"%Y%m%d")
git_short_hash=$(git rev-parse --short HEAD) git_short_hash=$(git rev-parse --short HEAD)
output_path="${project_path}/build/app/outputs/bundle/release" output_path="${project_path}/build/app/outputs/apk/release"
new_apk_name="Hi365_Release_${current_date}_$Version_Number_${git_short_hash}.aab" new_apk_name="Hi365_Release_${current_date}_$Version_Number_${git_short_hash}.apk"
apk_path="${output_path}/${new_apk_name}" apk_path="${output_path}/${new_apk_name}"
...@@ -81,10 +81,10 @@ apk_path="${output_path}/${new_apk_name}" ...@@ -81,10 +81,10 @@ apk_path="${output_path}/${new_apk_name}"
flutter build apk --release -t lib/main_prod.dart flutter build apk --release -t lib/main_prod.dart
# create apk # create apk
# bundletool build-apks --bundle=${output_path}/app-release.aab --output=${output_path}/app-release.apk # bundletool build-apks --bundle=${output_path}/app-release.apk --output=${output_path}/app-release.apk
# rename aab name # rename apk name
mv ${output_path}/app-release.aab ${apk_path} mv ${output_path}/app-release.apk ${apk_path}
# deploy # deploy
echo "TODO...Deploy to APK repository" echo "TODO...Deploy to APK repository"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment