Releasing Bucksley
Two pipelines, both scripted and both runnable from this Mac or from GitHub Actions.
| What | Script | GitHub workflow | Where it lands |
|---|---|---|---|
| Mac app (direct download + auto-update) | scripts/release-mac.sh <version> --notes "…" [--publish] | Mac release (mac-release.yml, run manually) | bucksley.ai/downloads/Bucksley-<version>.dmg and the Sparkle feed bucksley.ai/appcast.xml, via protomota/bucksley-site main → Vercel |
| iPhone app (TestFlight) | scripts/release-ios.sh [--build N] | TestFlight (testflight.yml, run manually) | App Store Connect app 6839304813, internal group "Bucksley Internal" |
Every push to main also runs Checks (checks.yml): package tests plus unsigned Mac and iPhone builds.
App Store listing content (description, screenshots, review submission) is not part of this pipeline.
Mac release
scripts/release-mac.sh 0.1.1 --notes "What changed"regenerates the Xcode project, archivesBucksleyMac,
exports with Developer ID and the "Bucksley Developer ID" profile (iCloud), notarizes and staples the app,
builds the house drag installer (installer/, artwork inApps/Mac/installer-background.tiff), signs and
notarizes the DMG, signs the update with Sparkle's EdDSA key and writesappcast.xml.- It copies the DMG to
../bucksley-site/downloads/, the feed to../bucksley-site/appcast.xml, runs the
site'stools/set-release.sh(download links, version, size, JSON-LD) and bumps the version and build inproject.yml. - Without
--publishit stops so you can review both repos. With--publishit commits and pushes
bucksley-site and this repo to main, then waits until bucksley.ai serves the new feed and a byte-identical DMG.
Work files go to /Volumes/Expand/Projects/Bucksley/release/<version>-<build>/ (BUCKSLEY_RELEASE_DIR overrides, BUCKSLEY_SITE_DIR points at another site checkout).
Credentials on this Mac: the Developer ID certificate in the login Keychain, the Sparkle private key in the login Keychain (account com.protomota.bucksley, made by Sparkle's generate_keys), and the notarization key from Bitwarden Secrets Manager (APP_STORE_CONNECT_API_KEY, APP_STORE_CONNECT_KEY_ID, APP_STORE_CONNECT_ISSUER_ID).
The app checks https://bucksley.ai/appcast.xml (Sparkle 2, public key in project.yml). Debug builds never check. Bucksley → Check for Updates… checks by hand.
TestFlight
scripts/release-ios.sh reads the version from project.yml, picks the next build number from App Store Connect, archives BucksleyPhone with Apple Distribution and the "Bucksley App Store" profile, uploads with altool, waits for processing and makes the build available to the internal group. Testers must accept the TestFlight invitation email before they get build notifications.
Credentials on this Mac: the Apple Distribution certificate in the login Keychain and the upload key from Secrets Manager (INKSPRING_ASC_UPLOAD_KEY_ID, _ISSUER_ID, _PRIVATE_KEY; override the prefix with BUCKSLEY_ASC_SECRET_PREFIX).
GitHub secrets
| Secret | Used by | Value |
|---|---|---|
APPLE_API_KEY, APPLE_API_KEY_ID, APPLE_API_ISSUER | Mac release | Notarization key (.p8 text), key ID, issuer ID |
BUCKSLEY_SPARKLE_EDDSA_PRIVATE_KEY | Mac release | generate_keys --account com.protomota.bucksley -x key.txt |
SITE_REPO_TOKEN | Mac release | Fine-grained token with Contents read/write on protomota/bucksley-site |
DEVELOPER_ID_P12_BASE64, DEVELOPER_ID_P12_PASSWORD | Mac release | Developer ID Application certificate + key exported as .p12 |
ASC_UPLOAD_KEY, ASC_UPLOAD_KEY_ID, ASC_UPLOAD_ISSUER | TestFlight | App Store Connect upload key (Admin or App Manager) |
DISTRIBUTION_P12_BASE64, DISTRIBUTION_P12_PASSWORD | TestFlight | Apple Distribution certificate + key exported as .p12 |
The provisioning profiles are checked in under signing/ (they hold no secrets) and the scripts install them.
Apple setup
- Bundle ID
com.protomota.bucksley(team 22HV69L32T, universal) with iCloud, Push Notifications and
Sign in with Apple: registered 2026-11-25 through the App Store Connect API. - iCloud container
iCloud.com.protomota.bucksley: created 2026-11-25 in the developer portal and enabled on
the bundle ID. - App Store Connect app "Bucksley: Read-Only Finance" (SKU bucksley, Apple ID 6839304813): created 2026-11-25.
scripts/asc.py app-idfinds its ID by bundle ID. Never submit it for review from these scripts. - Profiles "Bucksley Developer ID" (Mac, Developer ID, cert V3D25LB5M4) and "Bucksley App Store" (iOS, Apple
Distribution, cert WH27C9B5PQ), both with the iCloud container, are insigning/(created 2026-11-25 through
the App Store Connect API).
Public repository note: signing profiles, release credentials and the GitHub release workflows are not included here. To ship your own build, use your own Apple Developer team, bundle identifiers and iCloud container.