iOS Release - Cut a New Build
Bump the version in tauri.conf.json, commit, push, and verify the GitHub Actions iOS build workflow starts.
Process
Step 1: Ensure correct branch and clean state
- •Check the current branch with
git branch --show-current. - •If not on
main, stop and tell the user this skill must be run from themainbranch (since the iOS build workflow only triggers on pushes tomain). - •Run
git statusto check for uncommitted changes. - •If there are uncommitted changes, commit them first:
a. Run
git diff --statandgit log --oneline -5to understand the changes and commit style. b. Stage all modified/new files withgit add(list specific files, not-A). c. Write a descriptive commit message summarizing the changes. d. Commit the changes. - •Run
git pullto make sure the branch is up to date with the remote.
Step 2: Read current version
- •Read
rust/immerse-tauri/tauri.conf.json. - •Extract the current
"version"value (e.g.,"0.3.1"). - •Display it to the user.
Step 3: Bump the version
Increment the patch version by 1 (e.g., 0.3.1 -> 0.3.2).
Use the Edit tool to update the "version" field in rust/immerse-tauri/tauri.conf.json.
Step 4: Commit and push
- •Stage only the version file:
bash
git add rust/immerse-tauri/tauri.conf.json
- •Commit with a clear message:
bash
git commit -m "bump iOS version to X.Y.Z for TestFlight"
- •Push to main:
bash
git push
Step 5: Verify the GitHub Actions workflow started
- •Wait 5 seconds for GitHub to register the push.
- •Run:
bash
gh run list --workflow=ios-build.yml --limit=1
- •Report the status and run URL to the user so they can monitor the build.