Skip to content

fix: allow mobile release scripts to sync Capacitor - #52

Open
ehussong wants to merge 1 commit into
logseq:version/filefrom
ehussong:codex/fix-capacitor-release-version
Open

fix: allow mobile release scripts to sync Capacitor#52
ehussong wants to merge 1 commit into
logseq:version/filefrom
ehussong:codex/fix-capacitor-release-version

Conversation

@ehussong

@ehussong ehussong commented Sep 2, 2026

Copy link
Copy Markdown

Summary

Read the mobile app version from src/main/frontend/version.cljs instead of the generated static/package.json.

The Android and iOS release scripts move static/ into public/ before Capacitor loads capacitor.config.ts. Reading the canonical source version keeps the configuration available throughout that release sequence and matches the version source updated by the release workflows.

Verification

Tested with static/package.json absent, matching the reported failure state:

  • Confirmed the original configuration fails during npx cap sync android with ENOENT: no such file or directory, open 'static/package.json'.
  • Confirmed the fixed configuration completes npx cap sync android successfully.
  • Confirmed npx cap sync ios parses the configuration and copies assets successfully; native dependency installation could not complete because this Mac does not have CocoaPods or full Xcode installed.
  • Confirmed capacitor.config.ts passes TypeScript compilation.
  • Ran git diff --check.

Fixes #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue running run-android-release

1 participant