30825912f4
[TSM.ID].[11031972] PXE : Platform X Ecosystem I [142 Module - REAL LIVE -] / 3Z: Zero Error Check (142 Modules) (push) Waiting to run
24 lines
657 B
Bash
24 lines
657 B
Bash
#!/bin/bash
|
|
# JUMPA.ID Android Builder
|
|
# Builds signed AAB for Google Play Store
|
|
|
|
echo "Starting Android Build Pipeline..."
|
|
|
|
cd ../../../jumpa.id
|
|
|
|
# Ensure dependencies are installed
|
|
npm install
|
|
|
|
# Initialize Android project if not done
|
|
if [ ! -d "src-tauri/gen/android" ]; then
|
|
echo "Initializing Android environment..."
|
|
npm run tauri android init
|
|
fi
|
|
|
|
# Build Android App Bundle (Release)
|
|
echo "Building Android AAB..."
|
|
npm run tauri android build -- --target aarch64-linux-android --release
|
|
|
|
echo "Android build completed."
|
|
echo "Note: Before uploading to Google Play, ensure you have signed the AAB using jarsigner and your production keystore."
|