From 7d9eb3fad2aba0b27d9f068e6d46ac8f77285fb2 Mon Sep 17 00:00:00 2001 From: Vaibhav Surve Date: Wed, 1 Oct 2025 16:21:48 +0530 Subject: [PATCH] modified bash file --- build_release.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build_release.sh b/build_release.sh index 867c29e..bf1db11 100644 --- a/build_release.sh +++ b/build_release.sh @@ -1,7 +1,7 @@ #!/bin/bash # =============================== -# Flutter APK Build Script (AAB Disabled) +# Flutter APK & AAB Build Script # =============================== # Exit immediately if a command exits with a non-zero status @@ -30,19 +30,19 @@ flutter pub get # ============================== # Step 3: Build AAB (Commented) # ============================== -# echo -e "${CYAN}🏗 Building AAB file...${NC}" -# flutter build appbundle --release +echo -e "${CYAN}🏗 Building AAB file...${NC}" +flutter build appbundle --release # Step 4: Build APK echo -e "${CYAN}🏗 Building APK file...${NC}" flutter build apk --release # Step 5: Show output paths -# AAB_PATH="$BUILD_DIR/bundle/release/app-release.aab" +AAB_PATH="$BUILD_DIR/bundle/release/app-release.aab" APK_PATH="$BUILD_DIR/apk/release/app-release.apk" echo -e "${GREEN}✅ Build completed successfully!${NC}" -# echo -e "${YELLOW}📍 AAB file: ${CYAN}$AAB_PATH${NC}" +echo -e "${YELLOW}📍 AAB file: ${CYAN}$AAB_PATH${NC}" echo -e "${YELLOW}📍 APK file: ${CYAN}$APK_PATH${NC}" # Optional: open the folder (Mac/Linux)