Skip to main content

max / goingson

799 B · 20 lines History Blame Raw
1 // GoingsOn — iOS / TestFlight release recipe for Bento.
2 //
3 // Ports _private/docs/goingson/deploy.md (iOS section). Runs on mbp.
4 // `release-ios.sh` re-flattens the app icons (ITMS-90717 guard), builds the
5 // release archive, exports the IPA, and uploads to TestFlight Internal. The
6 // iOS "publish" IS that upload — there is no local artifact to collect and no
7 // Bento publish() call. A non-zero exit (or a missing "UPLOAD SUCCEEDED"
8 // banner, which the script checks for) fails the build step.
9
10 let h = build_host();
11 let v = version();
12 let r = repo();
13
14 step("checkout");
15 sh_ok(h, "cd " + r + " && git pull --ff-only");
16
17 step("build");
18 sh_ok(h, "cd " + r + " && ./dist/release-ios.sh");
19 log("GoingsOn iOS v" + v + " uploaded to TestFlight — appears in App Store Connect within ~30 min.");
20