orca/mobile/fastlane
Neil 3830851a83
fix(mobile): unblock iOS releases and prepare 0.0.36 (#10888)
* fix(mobile): block iOS uploads below the last shipped App Store version

The closed-train guard looked up each candidate version's own App Store
record, but a version only gets one once it is submitted for review.
0.0.34 reached TestFlight and was never submitted, so it had no record,
nothing looked closed, and the patch-bump walk stopped there — while
0.0.35 had already shipped. Apple rejected the upload after a 24-minute
build (90186 closed train, 90062 needs a higher CFBundleShortVersionString).

Fetch the highest closed version once and treat everything at or below it
as closed, comparing semver numerically so 0.0.10 outranks 0.0.9.

Also read appVersionState alongside appStoreState: the latter is
deprecated in App Store Connect API 3.3 and renames the shipped state to
READY_FOR_DISTRIBUTION, so reading only the old field would silently find
zero closed versions once Apple stops populating it.

* chore(mobile): prepare 0.0.36

app.json sat at 0.0.32 while 0.0.35 shipped on the App Store, because
release versions are resolved on the runner and never committed back.
Close the four-version drift so the checked-in version matches reality
and the iOS release no longer depends on the closed-train walk to find
an open version.

Bump Android versionCode 8 -> 9 in the same commit: the version is shared
between platforms, and shipping 0.0.36 with the code that already shipped
for 0.0.32 produces an APK that cannot install over the released build.
2026-07-27 01:53:11 -07:00
..
Appfile Build and ship iOS to TestFlight from CI (#5468) 2026-06-15 21:38:00 -07:00
Fastfile fix(mobile): unblock iOS releases and prepare 0.0.36 (#10888) 2026-07-27 01:53:11 -07:00
ios_release_version.rb fix(mobile): unblock iOS releases and prepare 0.0.36 (#10888) 2026-07-27 01:53:11 -07:00
ios_release_version_test.rb fix(mobile): unblock iOS releases and prepare 0.0.36 (#10888) 2026-07-27 01:53:11 -07:00