Skip to content
Back to skills

Release Mac App

ASecurity

Releases Sparkle-updated macOS apps end to end: build, notarization, appcast, GitHub Release, Homebrew cask, and closeout checks. Use when shipping a new version of a Mac menu-bar app or utility.

  • 14 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 10, 2026
ai-agentsbashgit

Security analysis

A100/100

Scanned November 10, 2026

npx -y skills add mouadja02/skills --skill release-mac-app --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Release Mac App?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Release Mac App
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mouadja02-release-mac-app/badge)](https://www.skillsdirectory.com/skills/mouadja02-release-mac-app)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: release-mac-app
description: >-
  Releases Sparkle-updated macOS apps end to end: build, notarization, appcast, GitHub Release,
  Homebrew cask, and closeout checks. Use when shipping a new version of a Mac menu-bar app or
  utility.
source: "https://github.com/steipete/agent-scripts"
attribution: "steipete/agent-scripts by Peter Steinberger"
version: "1.0.0"
platform: macos
license: MIT
---

# Mac App Release

> **Attribution:** Sourced from [steipete/agent-scripts](https://github.com/steipete/agent-scripts) by [Peter Steinberger](https://github.com/steipete).

Use for Sparkle-updated macOS apps (menu bar apps, utilities, etc.).

## Rules

- Work from the app repo.
- Read `.mac-release.env`; it is the repo-owned release manifest.
- Never print private key material.
- Prefer Keychain Sparkle signing. `SPARKLE_PRIVATE_KEY_FILE` is an explicit override only.

## Release Manifest (`.mac-release.env`)

Required fields:
- `MAC_RELEASE_APP_NAME` - app name
- `MAC_RELEASE_REPO` - `owner/repo`
- `MAC_RELEASE_BUNDLE_ID` - bundle identifier
- `MAC_RELEASE_VERSION_FILE` - path to version file
- `MAC_RELEASE_APPCAST` - path to appcast XML
- `MAC_RELEASE_FEED_URL` - public appcast feed URL
- `MAC_RELEASE_DOWNLOAD_URL_PREFIX` - download base URL
- `MAC_RELEASE_APP_ZIP` - app zip artifact name
- `MAC_RELEASE_PACKAGE_CMD` - build/package command

## Release Checklist

- [ ] appcast entry has URL, length, Sparkle signature
- [ ] downloaded enclosure verifies with Sparkle
- [ ] extracted app passes `codesign`, `spctl`, and `stapler validate`
- [ ] GitHub release has app zip + dSYM zip
- [ ] release notes match the changelog section
- [ ] after verified release, bump changelog to next patch `Unreleased`

## Key Commands

```bash
# Check app code signing
codesign -dv --verbose=4 /path/to/App.app

# Verify notarization
spctl -a -vv /path/to/App.app

# Verify stapling
xcrun stapler validate /path/to/App.app

# Check zip contents
unzip -l App.zip

# Sign appcast entry (Sparkle)
sign_update App.zip private_key.pem
```

## 1Password Integration

If the release requires secrets via 1Password:
- Set `MAC_RELEASE_OP_ITEM` + `MAC_RELEASE_OP_FIELDS` in `.mac-release.env`
- Secrets are read once via `op` inside one persistent tmux session
- Never expose or echo secret values
- Prefer secrets already exported in the environment; call `op` only for fields that are missing
- Read all missing fields in one command inside that tmux session, so 1Password prompts once per release

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.