Skip to content

Instantly share code, notes, and snippets.

@tuistit
tuistit / notarize.sh
Created January 2, 2025 12:01
A gist that includes bash scripts to sign and notarize CLIs for macOS environments
#!/usr/bin/env bash
TEAM_ID="..."
APPLE_ID="..."
APP_SPECIFIC_PASSWORD="..."
RAW_JSON=$(xcrun notarytool submit "notarization-bundle.zip" \
--apple-id "$APPLE_ID" \
--team-id "$TEAM_ID" \
--password "$APP_SPECIFIC_PASSWORD" \