Skip to content

Commit

Permalink
Update generate-apk.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Shashwat12-egov authored Dec 20, 2024
1 parent 2595705 commit e503db7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/generate-apk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ echo "Please select a build config (release or profile):"
read build_config
build_config="${build_config:-release}"

cd "$APP_DIR" || exit

# # Build APK for specified environment(s) and build config
# if [ "$env" == "ALL" ]; then
# env_list=("UAT" "DEV" "QA")
# else
# env_list=("$env")
# fi

# ./tools/install_bricks.sh
./tools/install_bricks.sh

cd "$APP_DIR" || exit

# for env_option in "${env_list[@]}"; do
# cd "$APP_DIR" || exit
Expand All @@ -54,7 +54,7 @@ cd "$APP_DIR" || exit
cd ../../ || exit

mkdir -p outputs
mv "$APP_DIR/build/app/outputs/flutter-apk/app-$build_config.apk" "outputs/app-$env_option-$build_config.apk"
mv "$APP_DIR/build/app/outputs/apk/release/app-$build_config.apk" "outputs/app-$env_option-$build_config.apk"
# done

# open outputs
Expand Down

0 comments on commit e503db7

Please sign in to comment.