Expo-Release: Build Expo Android and iOS Apps on Your Own Compute, and What It Saves
Expo-Release is a Claude Code skill for building, checking, submitting and releasing an Expo app from your own GitLab runners, with no cloud build. The cost math with the formula shown, the seven stages with every validation, what broke, and a rebuild checklist.
The problem with cloud builds for an Expo app is the limit. Expo’s Free plan gives 15 Android and 15 iOS builds a month, counted separately, with low priority in the queue. It has no overage: when the 15 are gone, new builds are unavailable until the 1st of the next month, unless you pay. Our app went past 15 Android builds a month in October. Our builds run on our own computers, so we did not need a paid plan.
The limit is also a wait. The Free plan builds in a low-priority queue, and Expo’s own page says waits of 90+ minutes at peak. When the 15 builds are gone, a fix cannot go to production on demand. You pay, or you wait for the 1st. That wait is the second problem this article solves.
Expo in 30 seconds (from the Expo FAQ and the Expo docs)
- What Expo is. An open-source framework for React Native apps. You write one JavaScript or TypeScript project, and it runs natively on Android and iOS.
- What Expo also sells. An optional set of cloud services: build, store submission and updates. The framework is free. The cloud build is the part with plans, a queue and a monthly limit.
- Why we use Expo for iOS and Android releases. One codebase gives one app for both stores. The app is the same Expo project on both sides. Only the place where it is built changed: our own computers instead of Expo’s cloud.
- Why that works. We already have the compute and the build image ready, so a build does not need a cloud service. We also do not write the release pipeline from scratch. A skill sets it up and checks it (see “The compute is already there”).
Cost first, in plain words. Over 60 days (17 September to 15 November 2026) our own runners built 134 jobs. At Expo’s current public price list, the cheapest valid plan for those builds would have cost between $90 and $278. Our power cost for the same jobs is about $0.34. This is money not spent. It is not a bill that we paid or a saving against a bill that we had. We found no Expo invoice or plan record for this app, and we did not check an Expo account.
| Month | Low case: Expo cost | High case: Expo cost |
|---|---|---|
| September (17th to 30th) | $0 | $20 |
| October | $49 | $124 |
| November (1st to 15th) | $41 | $134 |
| Total | $90 | $278 |
- September is $0 in the low case. 10 Android and 4 iOS builds fit inside the Free plan.
- The saving appears only because Android passed 15 builds a month. If Android had stayed at 15 or fewer a month, the money saved would be $0 in every month. What remains is queue time and the build time limit.
- The comparison is against today’s public price list. It is not against what we paid before. We cannot prove which build service we used before 6 September 2026, so we do not claim that.
- November is 15 days. The numbers will grow. All counts are a floor (see Limits).
- Low and high are two readings, not a forecast. Low: successful builds on medium workers. High: also failed builds of 1 minute or longer and canceled builds, on large workers.
Expo plans in 30 seconds (fetched 2026-11-15 from expo.dev pricing and the Expo billing docs)
| Plan | Price | Build allowance | Queue | Build time limit |
|---|---|---|---|---|
| Free | $0 | Up to 15 Android and 15 iOS builds a month | Low priority; Expo says waits of 90+ minutes at peak | 45 minutes |
| Starter | $19 a month | $45 build credit, then pay per build | High priority | 2 hours |
| Production | $199 a month | $225 build credit, then pay per build | High priority | 2 hours |
Per-build price on paid plans: Android $1 (medium worker) or $2 (large). iOS $2 (medium) or $4 (large). Large workers are not on the Free plan.
The wait: why you cannot drop a fix into production on demand.
| Expo Free plan | Our runners | |
|---|---|---|
| Who owns the compute | Expo, shared with all Free users | Us. It is there for us. |
| Wait before a build starts | Low-priority queue. Expo says 90+ minutes at peak. We did not measure it. | Queue median 0.0 to 0.05 minutes (iOS jobs before 27 October not measured) |
| What starts the build | You queue a build and wait for a slot | A tag push starts the pipeline right away |
| Builds per month | 15 Android and 15 iOS. No overage. After that, no build until the 1st unless you pay. | No monthly build cap |
| Median build time | Not measured | 3.7 minutes Android, 10.7 minutes iOS |
- Paid plans change the queue. Starter and above use a high-priority queue. The long wait is a Free plan problem. A paid plan buys the high-priority queue, but it is still Expo’s shared compute.
- We did not measure Expo’s queue. The 90+ minutes is Expo’s own statement for peak time. We only measured our own runners.
- Store review still applies. A fast build does not make a release instant. It removes the wait before the build, not the wait for the store.
Below: how Expo-Release builds both platforms on our own machines, every stage and every check inside it, the cost math with the formula, what broke on the way, and a list to rebuild it.
Architecture: Expo-Release, from the chat
Expo-Release is a Claude Code skill. You ask for a check of your release pipeline in plain words. The skill runs one script that audits the repo, and it can scaffold the pipeline files. Then a tag push starts the pipeline on your own runners. Click through the loop below. The counter in the top strip is the model cost of the chat. The skill file is 4,601 bytes, which is about 1,150 tokens by the rule bytes divided by 4 (an estimate), at the Claude Opus 5.5 input price of $4 per million tokens. Every step after that runs on your machines and adds nothing to the model cost.
Six pieces, each doing one job:
| Piece | Job |
|---|---|
| Expo-Release skill | Turns your request into a script call and reports the result. It never reads or prints a keystore, a store key or a token. |
| Tag pipeline in GitLab | A tag starts it. It runs seven stages, and each stage has gates that fail closed. |
| Android runner | A Docker runner with a pinned build image. It builds and signs the Android bundle with Gradle and uploads it to Google Play. |
| macOS runner | Your own Mac with a shell-executor runner. It builds the iOS app with fastlane and Xcode and uploads it to TestFlight. |
| Release kit | A private, pinned set of scripts that owns the gate logic. The skill calls the kit and does not copy it. |
| The stores | Google Play and TestFlight. The pipeline polls them until the build is confirmed. |
The pipeline builds the native folders that are committed in the repo. It never runs expo prebuild,
and it never calls eas build, eas submit or eas update.
The seven stages and every check
Each stage has a place where it runs, a job, and a list of validations. Each validation exists because a wrong release is easier to stop at a gate than to fix in a store. Click a stage to see where it runs, what it does, and why each check is there.
Linux Docker runner, Node image
Runs the checks the app already has: lint, format, types, unit tests, script tests. A release tag needs every one green.
- All validate jobs pass for the exact commitWhy: A tag must never ship code that the normal checks reject.
- Kit ref parity: the pipeline file and the runtime variable name the same kit tagWhy: A project variable of the same name would silently override the file and run a different kit.
From a tag to production. One tag moves through the seven stages: validate, version, preflight, build, submit, verify, release. The tag push starts them, with no queue to wait in.
| Step | Android | iOS |
|---|---|---|
| Build | Gradle builds and signs the bundle on the Docker runner | fastlane and Xcode build the app on the macOS runner |
| Submit | Uploads to Google Play. A production tag goes to the Play production track as a draft, which is not a rollout to users. A tester tag goes to the internal track. | Uploads to TestFlight |
| Verify | Polls Play until the version code is there | Polls App Store Connect until the build is valid |
| Release | A manual job. It fails closed unless the channel file says production and the version code is on the source track. | A manual job releases to the App Store |
- We gate the release on purpose. A person starts the release job. A bad build can reach a draft or TestFlight, but not the public, until someone says go.
- Store review still applies. The pipeline moves the build to the store. The store decides when it is live. A fix still waits for review. It does not wait for a build slot.
Four ideas run through all seven stages:
- Fail closed. If a check cannot run, the answer is no, not maybe. A gate that cannot verify stops the job.
- Cheap checks first. Preflight fails in seconds. A build can take many minutes, so it must not start with a bad key or a wrong tag.
- The tag is the version. There is no release commit. A tag in a known shape is the only source
of the version, and the version code is a formula:
(OFFSET + MAJOR x 1,000,000 + MINOR x 1,000 + PATCH) x 100 + SLOT. A production tag uses slot 0 and a tester tag uses slot N, so a tester build always outranks the production build of the same base version. - One lane never leaks into another. Tester and production builds use different channel values, different API addresses and different store tracks, and each stage re-checks that.
The compute is already there
The compute for these builds is ready before a tag arrives. Nobody builds a server on demand and nobody shares a queue with other teams.
- Runners exist before the tag. The Android runner is a Docker runner. Its pinned build image was built once on the runner host. There is no image pull per job. Gradle and npm caches live in host-mounted volumes, so builds reuse them. The iOS runner is our own registered Mac runner.
- No one else’s queue. The runners belong to us. A job waits only when our own runner is busy. Our measured queue median is 0.0 to 0.05 minutes.
- No tokens are spent on a build. No model runs inside a build job. The only model cost from the skill is reading the skill file: about 1,150 tokens (an estimate, from 4,601 bytes divided by 4).
- We do not build the pipeline from scratch. The skill does the repeating work:
| Skill command | What it does for you |
|---|---|
init | Scaffolds the pipeline files. Dry run until you allow the write. Never overwrites a file. |
check | Audits a repo offline and lists what you must confirm in GitLab |
stages | Prints the seven stages and the gates |
The private release kit owns the gate scripts, pinned to a tag. The skill calls the kit and does not copy it. The kit is private. The skill itself is on npm (see “Install the Expo-Release skill”).
What the build cost us, and what Expo would have charged
This section shows the formula and every input, so that you can check the result. Build counts come from the GitLab jobs API for our app, read-only, from 17 September (the first release built by the pipeline) to 15 November 2026. It is the same style of history as the CI-Runner article.
What counts as a build job. Android: the three Android build jobs. iOS: the two iOS build jobs from 27 October. Before that date the iOS build ran inside the TestFlight upload jobs, so we counted those jobs up to 27 October (21 jobs, all 6 to 11 minutes). That split rule is an estimate. The durations support it.
| Month | Platform | Jobs run | Success | Failed | Failed 1 min or longer | Canceled | Median success (min) |
|---|---|---|---|---|---|---|---|
| Sep (from 17th) | Android | 15 | 10 | 5 | 1 | 0 | 2.5 |
| Oct | Android | 32 | 31 | 1 | 0 | 0 | 3.3 |
| Nov (to 15th) | Android | 30 | 25 | 5 | 3 | 0 | 4.1 |
| Sep (from 17th) | iOS | 9 | 4 | 4 | 1 | 1 | 8.4 |
| Oct | iOS | 22 | 22 | 0 | 0 | 0 | 9.7 |
| Nov (to 15th) | iOS | 26 | 21 | 5 | 5 | 0 | 12.3 |
| Total | Android | 77 | 66 | 11 | 4 | 0 | 3.7 |
| Total | iOS | 57 | 47 | 9 | 7 | 1 | 10.7 |
Both platforms: 134 build jobs, 113 successful, 13.40 build hours.
The formula. For each month, the cheapest valid Expo route is:
- If Android builds are 15 or fewer, iOS builds are 15 or fewer, and medium workers are enough: the Free plan, $0.
- Otherwise: Starter,
$19 + max(0, usage - $45), where usage is Android builds times the Android price plus iOS builds times the iOS price. - Free has no overage, and Free credits do not move to a paid plan. So there is no mix of both.
Low case counts successful builds on medium workers. High case also counts failed builds of 1 minute or longer and canceled builds, on large workers.
| Month | Low: Android / iOS | Low: usage | Low: Expo cost | High: Android / iOS | High: usage | High: Expo cost |
|---|---|---|---|---|---|---|
| Sep (17th to 30th) | 10 / 4 | 10x$1 + 4x$2 = $18 | $0 (inside Free) | 11 / 6 | 11x$2 + 6x$4 = $46 | $19 + ($46 - $45) = $20 |
| Oct | 31 / 22 | 31x$1 + 22x$2 = $75 | $19 + ($75 - $45) = $49 | 31 / 22 | 31x$2 + 22x$4 = $150 | $19 + ($150 - $45) = $124 |
| Nov (1st to 15th) | 25 / 21 | 25x$1 + 21x$2 = $67 | $19 + ($67 - $45) = $41 | 28 / 26 | 28x$2 + 26x$4 = $160 | $19 + ($160 - $45) = $134 |
| Total | $160 at list | $90 | $356 at list | $278 |
Try it with your own numbers. The presets are our real months, low and high.
- This is one of our real months. The Expo figure is $49.00 before power.
- Free covers up to 15 Android and 15 iOS builds a month, counted separately. It has no overage: past the limit you wait for the 1st or upgrade.
- Low case: successful builds on medium workers. High case: also failed builds of 1 minute or longer and canceled builds, on large workers.
- Power is an estimate: 150 W extra draw and $0.17 per kWh are assumptions. Hardware, idle power and setup time are not counted.
- Prices from Expo's public pages, fetched 2026-11-15. These are money not spent, not money saved from a real bill.
Power on our side. Our estimate is a 150 W extra draw while builds run, at $0.17 per kWh. Both are assumptions, and $0.17 is a typical US home rate. All 13.40 build hours count, not only the successful ones: 13.40 h x 0.150 kW x $0.17 = $0.34. The range is $0.23 at 100 W and $0.68 at 300 W. Net of power, the money not spent is about $89.7 in the low case and about $277.7 in the high case.
Other things that are not in the totals.
- Queue time. The median wait on our runners was 0.0 to 0.05 minutes. We did not measure Expo’s queue. Expo’s own page says the Free plan can wait 90+ minutes at peak.
- Build time. Android successful builds took 2.3 to 6.7 minutes after the first day. The overall median is 3.7. The first Android build ever took 10.3 minutes. iOS successful builds took 6.3 to 17.8 minutes, and the slow end is November (median 12.3). We had documented a 25 to 40 minute cold build and an 8 to 12 minute warm build. We did not see those figures in successful jobs.
- A hosted macOS runner in GitLab, as an estimate. GitLab’s hosted macOS runners are Premium and Ultimate only, and in Beta. At the medium M1 cost factor of 6, our 535.4 iOS build minutes are about 3,212 compute minutes. At $0.01 per extra compute minute that is about $32. Inside Premium’s 10,000 included minutes it needs Premium at $29 per user per month. It is not available on the Free plan. This is an estimate: build jobs only, and an M1 machine would be faster or slower than ours. See the GitLab hosted macOS runner docs.
What the numbers do not say.
- Whether a failed build counts against the Free quota is not stated on the Expo pages that we read. We included failures of 1 minute or longer only in the high case.
- An internal note of ours said the Free tier is “30 builds combined”. That was wrong. Expo gives 15 Android and 15 iOS, counted separately, so 30 Android builds in one month are not covered.
- Not counted, as in the CI-Runner article: hardware, idle power, the host machine, and the time to set up and maintain it. On the Expo side we did not count submit jobs (free on Expo) or over-the-air updates (we cancelled that phase on 6 September 2026).
Design history
The first release shipped, with one bug. Everything after it came from running it every day. Click through the six stages. Each one is what was tried, what broke, and what was learned.
On 2026-09-06 we decided to build in CI on our own runners. The reasons on record: no recurring cost, no paid or queued external build service, and no side channel outside store review. First step: export the release keystore from the old service.
Nothing yet. But the old service had also supplied runtime settings, such as the API address, from its config file. We found that job only after the first release.
List what the old service did for you, including the jobs nobody wrote down, before you turn it off.
Install the Expo-Release skill
The expo-release bundle is on npm in version 0.35.0 of the package. Install it with one line:
npx '@yasaswy.nagavolu/agents' install --bundle expo-release
The release kit that does the heavy work is private and is not in the package. This is what works without the kit and what needs your own kit:
| Command | Works without the kit? | Needs the kit? |
|---|---|---|
stages | Yes. Prints the seven stages and the gates. | No |
check --repo <dir> | Yes. Audits a repo offline and static. Lists remote_checks_needed for you to confirm in GitLab. | No |
init ... | Yes. Scaffolds the pipeline files. Dry run until --write. Never overwrites a file. | No |
kit-fetch | Only if you have a kit at a git address | Yes |
kit-run version, alignment, preflight | Only with the kit | Yes |
The skill is a thin wrapper. It pins the kit to a vX.Y.Z tag, never a branch. The stage names and
release gates are in the skill and checked by tests against the stages output.
Prerequisites that no package installs for you:
| Prerequisite | Detail |
|---|---|
| A GitLab project with runners | Use the ci-runner skill from the CI-Runner article |
| A Mac for iOS | Your own, with a shell-executor runner tagged for macOS |
| Store accounts | Google Play and Apple Developer. Signing values are protected CI variables that you set in GitLab |
| The release kit | Private. Not part of the skill |
Rebuild from zero
This is the setup as a list. Steps marked “needs kit” cannot be done from the skill alone. Tick each step as you go.
The pipeline builds the committed native folders. It never runs prebuild and never calls the cloud build commands.
Use the ci-runner skill to create it. The release runner should take protected refs only, so that signing values are never visible to other branches.
iOS needs your own Mac. The runner uses the shell executor and the tag macos. Keep the machine awake and keep update restarts under control.
The Android keystore and the Play service account are protected variables you set in GitLab. iOS signing is read-only. The skill never reads, prints or asks for these values.
Works today without the kit. Prints the seven stages and the release gates as JSON.
python expo_release.py stagesWorks today without the kit. Offline and static. Fix every error first. The remote_checks_needed list is for you to confirm in GitLab.
python expo_release.py check --repo <dir>Works today without the kit. Read the highest versionCode ever uploaded from the store first and pass it as the offset. It is a dry run until you add --write, and it never overwrites a file.
python expo_release.py init --kit-project <group/name> --kit-ref vX.Y.Z --package <id> --offset <N>Needs the kit. The kit is private and is not released with the skill. Fetch it by tag, never by branch. If it lives in a private group, the project needs job-token access to it.
Needs the kit. The version, alignment and preflight checks run from the kit, not from the skill.
Open the CI variable list and confirm each name from remote_checks_needed is set and protected.
All three must pass before any production tag. Watch the first pipeline and confirm the jobs ran on your own runners.
A person starts the release job. It fails closed if the channel or the source track is wrong.
Limits
- The release kit is not public. The skill calls it and does not include it. Without the kit you
can run
stages,checkandinit. You cannot run the kit checks. - The host machine must stay awake. Our runners live on a Windows machine. Sleep, update restarts and container auto-update killed long builds. Keep the host awake and control updates.
- iOS needs your own Mac. The skill does not rent one. The iOS stages are written per project. The kit covers Android only.
- The numbers are a floor. Builds before 17 September and jobs that GitLab already deleted are not counted. We do not know how many iOS jobs before 27 October were retries, because those jobs have no pipeline id in our extract.
- Money not spent is not a bill. We found no Expo plan, invoice or usage record for this app. The figures are against the public price list fetched on 2026-11-15, and Expo can change it.
- Estimates are marked. The iOS job split rule, the 150 W power draw, the $0.17 per kWh rate and the hosted macOS figure are estimates.
- Fees that still apply. Store fees are the same on any build route and are not in these numbers.
- One open check. A pipeline test that the built bundle holds a non-empty API address is not done yet.
Technicals
The real stack behind this build, on record:
- Agentic harness: Claude Code.
- Skill name: Expo-Release (the
expo-releaseskill). It is a thin wrapper over one Python script and a pinned, private release kit. The commands arestages,check,init,kit-fetchandkit-run. - Runtime: GitLab runners. Android: a Docker runner with a pinned build image (JDK 17, Android SDK 35, build-tools 35.0.0, NDK 27, Kotlin 2.0.21, Gradle wrapper 8.14.3) and Gradle and npm caches in host-mounted volumes. iOS: a macOS runner with the shell executor, fastlane and Xcode.
- Memory/RAG system: none.
- Package: the
expo-releasebundle is in the npm package@yasaswy.nagavolu/agents, version 0.35.0. Install:npx '@yasaswy.nagavolu/agents' install --bundle expo-release. The release kit is private and is not in the package. There is no companion repository.
Cheat sheet
- The wait is the second cost. Expo’s Free plan queues builds at low priority (Expo says 90+ minutes at peak) and stops at 15 a month, so a fix cannot go to production on demand. Our runners: queue median 0.0 to 0.05 minutes, a tag push starts the pipeline right away. We did not measure Expo’s queue.
- The saving is conditional. It appears only when Android passes 15 builds a month. Below that the Free plan is $0.
- Money not spent, not a bill. $90 to $278 over 60 days at today’s public list price. Power about $0.34, an estimate.
- Seven stages, tag in, gates at every stage. validate, version, preflight, build, submit, verify, release. Release is a manual job, and store review still applies.
- The compute is ready. Pinned image and caches exist before the tag. No model runs in a build. The skill scaffolds and audits the pipeline, so we did not write it from scratch.
- Check the cheap things first. Runner online, signing opens, version code above the floor, all before a build starts.
- Release values were the bug. An empty API address shipped once. Now the build stage compares the release values with the release config.
- Keep the host awake. Sleep and update restarts killed builds.
- Install is one line.
npx '@yasaswy.nagavolu/agents' install --bundle expo-release(npm, version 0.35.0).stages,checkandinitwork without the kit. The kit is private, so bring your own.