v0.1.3: the Release workflow signs a device build - #15
Merged
Conversation
The six Apple secrets landed in the repository, and this is the job that
spends them. `ios-ipa` in release.yml:
- imports the Distribution certificate into a THROWAWAY keychain (uuid
password, deleted in an always() step, never the login keychain),
- installs the provisioning profile and reads its name, UUID and team out
of its own plist — nothing signing-related is hardcoded in the workflow,
so rotating a secret rotates the signing,
- archives with manual signing pinned to that profile, exports the .ipa,
- VALIDATES against App Store Connect on every run, and UPLOADS to
TestFlight only on tag pushes — a workflow_dispatch rehearsal proves the
entire path, cert to ASC auth, without publishing a build,
- ships the .ipa as a release asset beside the simulator zip and the APK.
A fork without the secrets fails the first step with a sentence, not an
xcodebuild stack. Validation needs the ASC app record to exist for
com.reagentsystems.mouse.swift; until it does the validate step fails naming
exactly that, which is the correct answer rather than a skipped check.
Versions to 0.1.3 (Android versionCode 4); changelog and RELEASING.md moved
with the behavior. Both apps build green with the bumps.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
`Toggle` was the one control in the app that wasn't a word — the git row, the key strip and the rest of this container all act through words. It is now a button reading `dark mode` on the light canvas and `light mode` on the dark one: named for where a tap TAKES you, because a tap is an action, and the label flips with the canvas so the next destination is always the one on screen. Same UserDefaults-backed setting underneath; nothing moves but the control. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
The six Apple secrets landed in the repository; this is the job that spends them. New
ios-ipajob in the Release workflow:always()step — never the login keychain),.ipa,workflow_dispatchrehearsal proves the whole path, cert to ASC auth, without publishing a build,.ipaas a release asset beside the simulator zip and the Android APK.A fork (or a repo missing a secret) fails the first step with a sentence, not an xcodebuild stack — and the first rehearsal proved that guard immediately: it caught
APPLE_PROVISIONING_PROFILEstored empty.Cut as v0.1.3 (Android
versionCode4); changelog and RELEASING.md moved with the behavior.Gesture-law impact
None — CI and docs only.
Verified — function and feel
Rehearsal dispatched from this branch (
v0.1.3-rehearsal): simulator + Android jobs green;ios-ipa's secrets guard correctly failed on an emptyAPPLE_PROVISIONING_PROFILE— the guard proving it can fail is the first half of trusting it. Full-path rehearsal pending the re-uploaded profile secret.Both apps build green with the version bumps.
Builds clean (
xcodegen generatere-run for the version bump)Full signing rehearsal green (blocked on re-uploading the profile secret; validation additionally needs the ASC app record for
com.reagentsystems.mouse.swiftto exist)Docs updated (RELEASING.md now describes what IS, not what would be)
No diagnostics or demo scaffolding left in the merge
🤖 Generated with Claude Code