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)