Skip to content
AI & Agents
Skill

/release-mac-app

macOS app release: Sparkle, notarization, GitHub Release, Homebrew, closeout.

From plugin
agent-scripts
7.5k54 skills

Claude Code

$ npx -y skills add steipete/agent-scripts --skill release-mac-app --agent claude-code

SKILL.md

release-mac-app.SKILL.md
name: release-mac-app
description: "macOS app release: Sparkle, notarization, GitHub Release, Homebrew, closeout."

Mac App Release

Use for BlackBar, RepoBar, CodexBar, Trimmy, and similar Sparkle-updated macOS apps.

Rules

  • Work from the app repo.
  • Read `.mac-release.env`; it is the repo-owned release manifest.
  • Use `scripts/mac-release` from this skill for shared release/appcast/verify work.
  • Execute `mac-release` directly so its privileged Bash shebang ignores startup hooks; if an explicit interpreter is

unavoidable, use `/bin/bash -p`, never plain `bash mac-release`.

  • Keep app-specific build/package/sign behavior in repo scripts unless it is already manifest-driven.
  • Never print private key material.
  • Upload app/dSYM assets to a draft before publication. After a failure, preserve the release, tags, appcast commit, and local edits; inspect existing state and resume the failed step instead of deleting or retagging a possibly published release.
  • Prefer `MAC_RELEASE_SPARKLE_OP_REF` for headless release signing when the key is in 1Password; otherwise prefer

Keychain Sparkle signing. `SPARKLE_PRIVATE_KEY_FILE` is an explicit local override only.

Commands

/Users/steipete/Projects/agent-scripts/skills/release-mac-app/scripts/mac-release status
/Users/steipete/Projects/agent-scripts/skills/release-mac-app/scripts/mac-release notes [version] [output.md]
/Users/steipete/Projects/agent-scripts/skills/release-mac-app/scripts/mac-release changelog-html <version> [CHANGELOG.md]
/Users/steipete/Projects/agent-scripts/skills/release-mac-app/scripts/mac-release make-appcast <zip> [feed-url]
/Users/steipete/Projects/agent-scripts/skills/release-mac-app/scripts/mac-release verify-appcast [version]
/Users/steipete/Projects/agent-scripts/skills/release-mac-app/scripts/mac-release check-assets [tag]
/Users/steipete/Projects/agent-scripts/skills/release-mac-app/scripts/mac-release release
/Users/steipete/Projects/agent-scripts/skills/release-mac-app/scripts/mac-release codesign-run [--with-package-secrets] -- <command> [args...]
/Users/steipete/Projects/agent-scripts/skills/release-mac-app/scripts/mac-release package-run -- <command> [args...]

`verify-appcast` uses only `SUPublicEDKey`; it needs no private key, Keychain, or 1Password access.

Manifest

Each repo owns `.mac-release.env`. It must contain no secrets.

Required:

  • `MAC_RELEASE_APP_NAME`
  • `MAC_RELEASE_REPO`
  • `MAC_RELEASE_BUNDLE_ID`
  • `MAC_RELEASE_VERSION_FILE`
  • `MAC_RELEASE_APPCAST`
  • `MAC_RELEASE_FEED_URL`
  • `MAC_RELEASE_DOWNLOAD_URL_PREFIX`
  • `MAC_RELEASE_APP_ZIP`
  • either `MAC_RELEASE_INFO_PLIST` or `MAC_RELEASE_SUPUBLIC_ED_KEY`

`MAC_RELEASE_PACKAGE_CMD` is required only for `release`; status, notes, changelog-html, verify-appcast, and check-assets do not need it.

Common optional:

  • `MAC_RELEASE_PRECHECK`
  • `MAC_RELEASE_SOURCE_FILES` (space-separated app helper files to source before expanding artifact names)
  • `MAC_RELEASE_DSYM_ZIP`
  • `MAC_RELEASE_REQUIRE_DSYM=0` for app-only releases
  • `MAC_RELEASE_ARTIFACT_PREFIX`
  • `MAC_RELEASE_TAG_SIGNED`
  • `MAC_RELEASE_TAG_FORCE`
  • `MAC_RELEASE_RELEASE_BRANCH`
  • `MAC_RELEASE_SPARKLE_ACCOUNT`
  • `MAC_RELEASE_SPARKLE_CHANNEL`
  • `MAC_RELEASE_GENERATE_APPCAST_ARGS`
  • `MAC_RELEASE_RUN_SPARKLE_UPDATE_TEST`
  • `MAC_RELEASE_SPARKLE_OP_REF` — exact `op://Vault/Item/field` reference for the Sparkle EdDSA private key. The

helper resolves it inside the shared `op-work` tmux session, writes only a mode-0600 temporary key file, validates its public key against `SUPublicEDKey`, and removes it on success or failure.

  • `MAC_RELEASE_SPARKLE_OP_ACCOUNT` and `MAC_RELEASE_SPARKLE_OP_USE_SERVICE_ACCOUNT` override the primary 1Password

account/service-account mode for the Sparkle reference. Service-account-backed refs should set service-account mode to `1`.

  • `MAC_RELEASE_SIGNING_KEY_FILE` (local fallback path only; Keychain is used when the file is absent)
  • `MAC_RELEASE_EXTRA_ASSET_PATTERNS`
  • `MAC_RELEASE_EXTRA_ASSET_WAIT_SECONDS`
  • `MAC_RELEASE_EXTRA_ASSET_WAIT_INTERVAL`
  • `MAC_RELEASE_OP_ENV_REFS` — ';'-separated `NAME=op://Vault/Item/field` entries resolved in the same credential pass and exported for the package command (item names may contain spaces, hence ';'). Already-exported names are preferred; refs only trigger an `op read` when missing. Example: `NPM_TOKEN=op://Molty/npm Registry - steipete - Release Automation/registry_token`.
  • `MAC_RELEASE_OP_ITEM` + `MAC_RELEASE_OP_FIELDS` for required packaging secrets. The release helper reads the known item once via `op` inside one persistent tmux session, then exports the requested fields for the package command.
  • `MAC_RELEASE_OP_ACCOUNT` defaults to `my.1password.com`; `MAC_RELEASE_OP_VAULT`, `MAC_RELEASE_OP_TMUX_SESSION`, `MAC_RELEASE_OP_WAIT_SECONDS` are optional. Without a vault, service-account token env is unset for that single `op` read so the personal desktop account handles it.
  • `MAC_RELEASE_CODESIGN_IDENTITY` + `MAC_RELEASE_CODESIGN_OP_ITEM` + `MAC_RELEASE_CODESIGN_KEYCHAIN_MANAGED=1` enable non-interactive Developer ID signing. The keychain must be replaceable, dedicated to release automation, separate from the default keychain, not shared with interactive use, and contain exactly one signing private key. The helper owns and may permanently normalize that key's partition ACL to `apple-tool:,apple:,codesign:`. After precheck, the same tmux credential pass reads `keychain_path` and normally `keychain_password`, takes a per-user release lock, prepends the keychain without hiding existing keychains, verifies a Developer ID Application canary, scopes package signing through a temporary `codesign --keychain` shim, then restores transient state and releases the lock. Set `MAC_RELEASE_CODESIGN_PASSWORDLESS=1` only for the canonical passwordless, never-locking release keychain; this omits the password field, preserves its unlocked state, and disables timeout/lock-on-sleep settings.
  • `MAC_RELEASE_CODESIGN_
Read more
@steipete
Ships withagent-scripts

Shared agent instructions, skills, and small portable helpers for Peter's local workspaces.

Stars on GitHub

Momentum

stars in total
7.5k
Star history of steipete/agent-scripts on GitHub, a chart by star-history.com

Other skills on agent-scripts.

browser-use

browser-use

Control the user's existing signed-in Chrome: callable Codex Chrome plugin first, then OpenClaw extension-backed mcporter, with…

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3w393k
@openclaw@openclawInstall Skill

Questions about release-mac-app.

Which coding agents can use release-mac-app?
release-mac-app installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.