Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

ci(release): notarize via App Store Connect API key + --publish never

enesda97f9c60694
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9e8a8c47f..cc029a73d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -26,15 +26,19 @@ jobs:
run: npm ci
- name: Build, sign & notarize
- run: npm run release
+ run: |
+ printf '%s' "$APPLE_API_KEY_B64" | base64 --decode > "$RUNNER_TEMP/notary-key.p8"
+ export APPLE_API_KEY="$RUNNER_TEMP/notary-key.p8"
+ npm run release
env:
# Developer ID Application cert, base64-encoded .p12 + its password.
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
- # Apple notarization credentials.
- APPLE_ID: ${{ secrets.APPLE_ID }}
- APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
- APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
+ # Apple notarization via App Store Connect API key: the .p8 is stored base64-encoded in
+ # a secret, decoded to a file at runtime, and its path handed to electron-builder.
+ APPLE_API_KEY_B64: ${{ secrets.APPLE_API_KEY_B64 }}
+ APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}
+ APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
- name: Upload build artifacts
uses: actions/upload-artifact@v4
diff --git a/package.json b/package.json
index 5184682dc..abec8c858 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,7 @@
"make-icon": "node scripts/make-icon.mjs",
"make-social": "node scripts/make-social.mjs",
"dist": "npm run make-icon && electron-vite build && electron-builder --mac --arm64 -c.mac.identity=null -c.mac.notarize=false",
- "release": "npm run make-icon && electron-vite build && electron-builder --mac --arm64 --x64 && npm run rebuild",
+ "release": "npm run make-icon && electron-vite build && electron-builder --mac --arm64 --x64 --publish never && npm run rebuild",
"postinstall": "electron-rebuild -f -w node-pty"
},
"build": {