Skip to content

Conversation

@transphorm
Copy link
Member

Motivation

  • Prevent version.json from drifting from platform files by ensuring platform-specific build numbers and marketing version are updated together with package.json and version.json.
  • Make the mobile deployment workflow produce a version-bump PR that includes the actual platform build file changes so build numbers remain in sync across CI and local/Fastlane changes.

Description

  • Added ANDROID_GRADLE_PATH and IOS_PBXPROJ_PATH and a helper updateFileWithRegex() to app/scripts/version-manager.cjs to perform safe regex replacements in platform files.
  • Extended applyVersions() in app/scripts/version-manager.cjs to update Android versionCode in android/app/build.gradle and all occurrences of CURRENT_PROJECT_VERSION and MARKETING_VERSION in ios/Self.xcodeproj/project.pbxproj in addition to updating package.json and version.json.
  • Replaced the inline package update in .github/workflows/mobile-deploy.yml with a call to node scripts/version-manager.cjs apply "$VERSION" "$IOS_BUILD" "$ANDROID_BUILD" so the script becomes the single source of truth for file updates.
  • Updated the create-version-bump-pr step in .github/workflows/mobile-deploy.yml to add android/app/build.gradle and ios/Self.xcodeproj/project.pbxproj to git add, and updated the commit message to note platform build files.

Testing

  • No automated tests were run for these workflow and scripting changes (script/workflow only), so no CI test results are available yet.

Codex Task

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 15, 2026

Warning

Rate limit exceeded

@transphorm has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 9 minutes and 48 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 22c35db and 440ab7d.

📒 Files selected for processing (2)
  • .github/workflows/mobile-deploy.yml
  • app/scripts/version-manager.cjs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants