You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: fix build versions v2.6.9 and mobile deploy fork pr source (#1224)
* chore: bump iOS build number to 179
* fix: use PR source commit for deployment to get correct version.json
When deploying from a PR merge (e.g., dev → staging), now uses the source
branch's commit instead of always checking out staging. This ensures
version.json has the correct bumped build number from the previous
deployment's PR back to dev, preventing 'build number already exists' errors.
* downgrade to match store
* fix: use merge_commit_sha instead of head.sha for deployments
Use github.event.pull_request.merge_commit_sha instead of head.sha to ensure
we deploy exactly what landed on staging after the merge, not just the source
branch state. This correctly handles:
- Conflict resolutions made during merge
- Any staging-only changes
- The actual state of staging post-merge
The merge commit still includes the updated version.json from the source
branch (e.g., dev), so build numbers remain correct while ensuring we deploy
and tag the true staging state.
Co-authored-by: CodeRabbit <[email protected]>
---------
Co-authored-by: CodeRabbit <[email protected]>
0 commit comments