24 Commits

Author SHA1 Message Date
DIYgod 28ab52296e fix(mobile): embed the real OTA runtime version in Android builds
EAS generates android/ with `expo prebuild`, which sets NODE_ENV to
"development" when it is unset. The app config picked the 0.0.0-dev
runtime from NODE_ENV, so every Android binary since the React Native
0.79 upgrade embedded expo_runtime_version 0.0.0-dev, and ota.folo.is
rejects its update checks. iOS kept the real runtime because eas-cli
syncs its committed Expo.plist outside of prebuild.

Decide the development runtime from the EAS build profile and fall back
to NODE_ENV only without one (expo start, local prebuild). The
eas-build-post-install hook now fails any build whose native runtime
differs from the expected one, and a test evaluates every eas.json
profile the way prebuild does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 16:21:11 +08:00
DIYgod 559b4b8423 ci: run dev's required checks on mobile-main pushes
The sync PR that merges a release branch back into dev is opened with
GITHUB_TOKEN, so it starts no pull_request workflows. Its auto-merge waits
for dev's required checks, "Format, Lint and Typecheck (lts/*)" and "Build
web and SSR server (lts/*)". Pushes to main run both on the merge commit, so
the desktop sync PR merges by itself, but pushes to mobile-main ran neither,
and mobile sync PRs sat until someone merged them by hand (#5095 waited eight
days).

Run both workflows on mobile-main pushes too, without cancelling runs in
progress there, and guard the triggers with a test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 19:50:25 +08:00
DIYgod 2f392594d5 chore(deps): refresh dependencies and verify affected app flows 2026-09-22 16:20:40 +08:00
DIYgod 3846c90b67 fix(ci): scope release detection to target branch (#5065) 2026-08-01 23:14:33 +08:00
DIYgod e551882bb3 fix(release): extend OTA sync trigger timeout 2026-05-29 16:10:33 +08:00
DIYgod 295f7e4291 fix(release): skip opposite platform push builds 2026-05-29 15:46:38 +08:00
DIYgod d3b1e93cac fix(release): always build mobile release apk 2026-05-29 14:47:41 +08:00
DIYgod 1ebe3c746a fix(ci): support current altool mas uploads 2026-04-14 14:19:22 +08:00
DIYgod 32c6ec3217 feat: cache storefront versions for ota policy 2026-04-12 22:21:20 +08:00
DIYgod 51efb5d5a5 fix(release): repair ota and desktop update flows 2026-04-12 16:04:15 +08:00
DIYgod f3d8d33d2c fix(ota): harden desktop sync and updater flow 2026-04-12 15:39:13 +08:00
DIYgod 33c8bb98b6 feat(ota): unify desktop updates with ota service 2026-04-12 15:39:13 +08:00
DIYgod 8f5649e1fd feat(release): drive mobile release mode from config files 2026-04-11 16:22:05 +08:00
DIYgod f9dd5a83ee feat(ota): add GitHub release-based OTA delivery 2026-04-11 10:07:03 +08:00
DIYgod 05a789129a fix(ota): emit expo-compatible update identifiers 2026-04-10 23:56:48 +08:00
DIYgod cec72605e3 fix(ci): harden ota publish workflow 2026-04-10 22:11:34 +08:00
DIYgod 340fb54056 ci(ota): publish releases and trigger sync 2026-04-10 22:00:59 +08:00
DIYgod 49d02c2a00 fix: require OTA platform asset arrays 2026-04-10 21:51:30 +08:00
DIYgod eba7be999f fix: tighten OTA release asset metadata handling 2026-04-10 21:44:58 +08:00
DIYgod bda7c3a0a8 feat(ota): generate release assets from mobile export 2026-04-10 21:25:34 +08:00
DIYgod 443e02eca5 ci(desktop): automate Mac App Store pkg upload 2026-04-10 21:22:42 +08:00
DIYgod 1e13ce6834 ci: automate release orchestration for desktop and mobile (#4861) 2026-02-19 16:42:39 +08:00
Innei d11bb5d993 fix(release-info): update regex patterns for version extraction
- Modified regex patterns in extract-release-info.mjs to be case-insensitive for desktop and mobile release tags, improving compatibility with various tag formats.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-30 01:38:44 +08:00
Innei 42d39fdd22 feat(release): enhance version tagging and release extraction
- Updated the version setup action to handle new tag formats for desktop and mobile releases.
- Introduced a new script to extract release information from commit messages, improving the tagging process.
- Modified workflows to create tags in the format of `desktop/v1.2.3` and `mobile/v1.2.3`.
- Enhanced the updater logic to accommodate the new tagging structure and ensure proper release handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-29 19:04:09 +08:00