videogen/apps/mobile/scripts/build-production.sh
caelum0x d56639a594
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
Menivor — open source release (MIT), free to use and fork
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.
2026-12-04 02:10:26 +03:00

34 lines
1.4 KiB
Bash
Executable File

#!/usr/bin/env bash
# Menivor — local App Store build + TestFlight upload.
#
# Exports the production env from eas.json (EXPO_PUBLIC_* vars are inlined into
# the JS bundle by Metro during the Xcode "Bundle React Native code and images"
# phase — exactly what EAS cloud injected), then runs the fastlane beta lane.
#
# This app is Expo SDK 54 (no expo-modules-jsi package) and lives in apps/mobile
# of an npm workspace (dependencies are hoisted to the repo root), so there is no
# Swift 6 JSI patch to verify and node_modules lives at ../../.
#
# Usage: ./scripts/build-production.sh [beta|upload_only|check_build] [fastlane args...]
# Docs: /Users/arhansubasi/products/LOCAL-IOS-BUILDS.md
set -euo pipefail
cd "$(dirname "$0")/.."
LANE="${1:-beta}"
shift || true
# Export every key/value from build.production.env in eas.json.
eval "$(node -e '
const env = require("./eas.json").build.production.env ?? {};
for (const [k, v] of Object.entries(env)) {
console.log(`export ${k}=${JSON.stringify(String(v))}`);
}
')"
# Sanity checks before an expensive archive.
[ -d ios ] || { echo "ios/ missing — run: npx expo prebuild -p ios --no-install && (cd ios && pod install)"; exit 1; }
# npm workspace: deps are hoisted to the repo root, not apps/mobile.
[ -d node_modules ] || [ -d ../../node_modules ] || { echo "node_modules missing — run: npm install (from repo root)"; exit 1; }
exec fastlane ios "$LANE" "$@"