Some checks are pending
build-images / api (push) Waiting to run
build-images / worker-gpu (push) Waiting to run
build-images / web (push) Waiting to run
codeql / Analyze (javascript-typescript) (push) Waiting to run
codeql / Analyze (python) (push) Waiting to run
perf / API hot-path micro-smoke (budgeted) (push) Waiting to run
perf / Desktop engine crates (release build check) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Waiting to run
vision2026-ci / API phase modules (ruff + pytest) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Waiting to run
vision2026-ci / Python SDK resource tests (push) Waiting to run
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Waiting to run
vision2026-ci / Alembic upgrade + drift check (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Waiting to run
Paid, hosted product at menivor.com, now retired as a company project. Fresh squashed history of the cleaned working tree (secret-scanned, no .env, no customer data, no outreach logs). Built on MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
60 lines
2.5 KiB
Bash
Executable File
60 lines
2.5 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Local release script for Menivor (generated from deploy-scripts/templates).
|
|
# Local Gradle release recipe. Produces a signed .aab in build/ only — does
|
|
# NOT upload to Play Console. Uploading/rollout is an owner-gated step done
|
|
# separately (Play Console UI or a service-account script run by the owner).
|
|
#
|
|
# Menivor's iOS release path already has its own (more complete) local
|
|
# pipeline — see ./build-production.sh + fastlane/Fastfile (beta/upload_only/
|
|
# check_build lanes). This script only fills the missing Android half, using
|
|
# the same plain Gradle recipe as every other Slipway app.
|
|
#
|
|
# Usage (from the app repo root, apps/mobile):
|
|
# scripts/release-android.sh [--clean]
|
|
#
|
|
# Prereqs:
|
|
# - `npx expo prebuild --platform android` has been run at least once
|
|
# (android/ exists). Not yet run as of this script's creation.
|
|
# - A release keystore already configured in android/app/build.gradle
|
|
# (signingConfigs.release) and the keystore file + passwords available
|
|
# via ~/.android-keys/<app>.keystore + android/gradle.properties
|
|
# (MYAPP_RELEASE_STORE_PASSWORD etc., read from the environment — never
|
|
# hardcoded here or printed).
|
|
set -euo pipefail
|
|
|
|
APP_NAME="Menivor" # e.g. huddle
|
|
CLEAN=0
|
|
|
|
while [ $# -gt 0 ]; do
|
|
case "$1" in
|
|
--clean) CLEAN=1 ;;
|
|
-h|--help) sed -n '2,22p' "$0"; exit 0 ;;
|
|
*) echo "unknown option $1" >&2; exit 2 ;;
|
|
esac
|
|
shift
|
|
done
|
|
|
|
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
cd "$HERE"
|
|
|
|
[ -d "android" ] || { echo "release-android: android/ missing — run 'npx expo prebuild --platform android' first" >&2; exit 1; }
|
|
[ -f "android/gradlew" ] || { echo "release-android: android/gradlew not found" >&2; exit 1; }
|
|
|
|
if [ "$CLEAN" -eq 1 ]; then
|
|
echo "== 1. clean"
|
|
( cd android && ./gradlew clean )
|
|
fi
|
|
|
|
echo "== 2. bundleRelease (.aab for Play) + assembleRelease (.apk for sideload/tester kit)"
|
|
( cd android && ./gradlew bundleRelease assembleRelease )
|
|
|
|
AAB="android/app/build/outputs/bundle/release/app-release.aab"
|
|
APK="android/app/build/outputs/apk/release/app-release.apk"
|
|
mkdir -p build
|
|
[ -f "$AAB" ] && cp "$AAB" "build/${APP_NAME}-$(date +%Y%m%d-%H%M%S).aab"
|
|
[ -f "$APK" ] && cp "$APK" "build/${APP_NAME}-$(date +%Y%m%d-%H%M%S).apk"
|
|
|
|
echo "== done: build/${APP_NAME}-*.aab (Play) and build/${APP_NAME}-*.apk (tester kit sideload)"
|
|
echo "Next (owner-gated, not run by this script): upload the .aab via Play Console"
|
|
echo " or a service-account script, after the shared Play tester pool is set up."
|