@devries-cameron20 / t3code-1 / commits / 237498c22f
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(ci): Android merges stop cutting a new Play Store build every time (#26596)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Julius Marminge committed Oct 28, 2026 at 11:39 UTC 237498c22fa6ed41356b1245212eb9a55b050dc4
1 file changed +14 -1
.github/workflows/mobile-eas-production.yml
+14 -1
@@ -160,7 +160,20 @@ jobs:
160 working-directory: apps/mobile
161 env:
162 EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
163 - run: eas env:pull production --non-interactive
163 + run: |
164 + eas env:pull production --non-interactive
165 + # EAS commands skip dotenv, and the Android fingerprint hashes this
166 + # file. Without it every merge misses the build's hash and rebuilds.
167 + node --input-type=module <<'NODE'
168 + import { appendFileSync, readFileSync } from "node:fs";
169 + import { parseEnv } from "node:util";
170 + const env = parseEnv(readFileSync(".env.local", "utf8"));
171 + const googleServicesFile = env.T3CODE_ANDROID_GOOGLE_SERVICES_FILE;
172 + if (!googleServicesFile) {
173 + throw new Error("T3CODE_ANDROID_GOOGLE_SERVICES_FILE is missing from the production environment");
174 + }
175 + appendFileSync(process.env.GITHUB_ENV, `T3CODE_ANDROID_GOOGLE_SERVICES_FILE=${googleServicesFile}\n`);
176 + NODE
177
178 - name: Apply manual version override
179 if: steps.version_app_token.outcome == 'success'