Releasing Jobley
Two pipelines, both scripted, both also runnable 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) | jobley.ai/downloads/Jobley-<version>.dmg (R2 bucket jobley-downloads) and the Sparkle feed jobley.ai/appcast.xml, via projectatomai/jobley-site main → Cloudflare Pages |
| iPhone app (TestFlight) | scripts/release-ios.sh [--build N] | TestFlight (testflight.yml, run manually) | App Store Connect app 6840041303, internal group "Jobley 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. Never submit for review from these scripts.
Mac release
scripts/release-mac.sh 0.1.1 --notes "What changed"regenerates the Xcode project, archivesJobleyMac,
exports with Developer ID and the "Jobley Developer ID" profile, 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
../jobley-site/downloads/(gitignored there), the feed to../jobley-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 uploads the DMG to the R2
bucketjobley-downloads, commits and pushes jobley-site and this repo to main, then waits until jobley.ai
serves the new feed and a byte-identical DMG.
Work files go to /Volumes/Expand/Projects/Jobley/release/<version>-<build>/ (JOBLEY_RELEASE_DIR overrides, JOBLEY_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.jobley, 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://jobley.ai/appcast.xml (Sparkle 2, public key in project.yml). Debug builds never check. Jobley → 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 JobleyPhone with Apple Distribution and the "Jobley 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 JOBLEY_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 |
JOBLEY_SPARKLE_EDDSA_PRIVATE_KEY | Mac release | generate_keys --account com.protomota.jobley -x key.txt |
SITE_REPO_TOKEN | Mac release | Fine-grained token with Contents read/write on projectatomai/jobley-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.jobley(team 22HV69L32T, universal): registered 2026-11-27 through the App Store
Connect API. Jobley keeps no data in iCloud, so there is no container. - App Store Connect app "Jobley: Curated Jobs" (SKU jobley, Apple ID 6840041303): created 2026-11-27.
scripts/asc.py app-idfinds its ID by bundle ID. - Profiles "Jobley Developer ID" (Mac, Developer ID, cert V3D25LB5M4) and "Jobley App Store" (iOS, Apple
Distribution, cert WH27C9B5PQ) are insigning/(created 2026-11-27 through the App Store Connect API).