App store deploy

From makifbaysal/tasktrooper · View interactive version

App store deploy is an AI agent skill from the GitHub repository makifbaysal/tasktrooper. Use when a mobile app needs a release pipeline - fastlane GitHub Actions to TestFlight (iOS) and Play internal track (Android), with code signing and the release naming that maps to TaskTrooper's prod deploy

How to use this skill

Skill file

App Store Deploy (mobile)

Overview

Mobile does not deploy to a cloud you run — it deploys to Apple's and Google's stores, so there is no GCP/AWS split. The CD pipeline builds a signed artifact and uploads it to a test track (TestFlight / Play internal), which is the mobile equivalent of a staged deploy. Read [[ci-cd-pipeline-authoring]] for the workflow naming/dispatch contract; this skill fills in the store steps.

Core principle: Signing is the hard part, not the upload. Get reproducible, secret-driven signing right and the release is a one-command fastlane lane.

Set up the pipeline

If the repo has no fastlane/ yet, create it directly: Fastfile lanes beta (stage) and release (prod, store-executor driven), per the iOS/Android sections below, plus deploy-stage/preprod/prod.yml workflow files. There is no search_boilerplate_catalog tool in this agent's tool list — don't call it.

Environment mapping

iOS — TestFlight

Android — Play

Build numbers

TaskTrooper chooses the build number; the generated scripts/mobile-release.sh reads it from BUILD_NUMBER and passes it to xcodebuild (CURRENT_PROJECT_VERSION) and Gradle (-PversionCode, -Pandroid.injected.version.code). Do not add increment_build_number, a latest_testflight_build_number + 1 lane or a github.run_number versionCode — two counters fight, and the store rejects the lower one.

Per-task test builds: a task entering Human UAT is built from its checkout and uploaded to TestFlight (opened to the internal groups) and to Play internal app sharing (a per-build link, no versionCode ordering). A rejected task that comes back to UAT gets the next attempt number. The "What to Test" note carries the task key, attempt and commit. Test builds share the release's marketing version, so the iOS prod channel submits only the build named by the workflow's build_number input, and Android test builds never go to the internal track the release promotes from.

Secrets (these ARE real secrets)

Unlike cloud deploys, mobile signing needs genuine secrets in GitHub secrets: — App Store Connect API key, MATCH_PASSWORD, keystore + passwords, Play service-account JSON. Store them as encrypted secrets, decode at runtime, never commit or log them. There is no OIDC path for the stores.

Gate & smoke

The "health check" is the store's own processing/validation. Fail the job if fastlane upload fails or the build is rejected. A successful upload is the store gate passing at ready_for_qa time — it still does not move the task anywhere: mobile is a batch delivery profile, so a merged mobile task waits in done, joined into the component's draft release, until a human cuts it.

When the store executor ships a cut release

For a store-executor batch component, deploy_release (called by the release engineer once a human has cut the release) is storeops.Service.StartBuild for every platform with a linked app — the same build this skill's stage lane produces, just started directly instead of by this workflow's own trigger. It records the internal-channel build number before starting (baseline_build) and the release is verified once the internal channel shows a build other than that baseline (build). A platform whose start fails keeps its error on the release; the others still proceed.

Store rules in force (2026-10)

Code-level, this agent can act on these directly:

Common Mistakes

Red Flags

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.