Skip to content

armgit / chops

Public Imported from GitHub
0

Your AI agent skills, finally organized. A macOS app to browse, edit, and manage skills across Claude Code, Cursor, Codex, Windsurf, and Amp.

fix: remove hardcoded credentials from release script (#3)

Josh Pigford56316f5213b8
diff --git a/scripts/release.sh b/scripts/release.sh
index 497981d..957475a 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -2,11 +2,16 @@
set -euo pipefail
# Usage: ./scripts/release.sh 1.0.0
+#
+# Required environment variables:
+# APPLE_TEAM_ID — Apple Developer Team ID
+# APPLE_ID — Apple ID email for notarization
+# SIGNING_IDENTITY_NAME — e.g. "Sabotage Media, LLC"
VERSION="${1:?Usage: ./scripts/release.sh <version>}"
-TEAM_ID="W33JZPPPFN"
-SIGNING_IDENTITY="Developer ID Application: Sabotage Media, LLC ($TEAM_ID)"
-APPLE_ID="[email protected]"
+TEAM_ID="${APPLE_TEAM_ID:?Set APPLE_TEAM_ID}"
+SIGNING_IDENTITY="Developer ID Application: ${SIGNING_IDENTITY_NAME:?Set SIGNING_IDENTITY_NAME} ($TEAM_ID)"
+APPLE_ID="${APPLE_ID:?Set APPLE_ID}"
BUNDLE_ID="com.joshpigford.Chops"
create_chops_dmg() {