Community程式設計與開發github.com

openclaw-mac-release

執行或復原 OpenClaw macOS 發佈版的簽署、公證、appcast 更新以及資產推廣。

openclaw-mac-release 是什麼?

此技能用於管理 OpenClaw macOS 應用程式的完整發佈流程,包含簽署、公證、appcast 更新與資產推廣。它特別針對使用 `$openclaw-release-maintainer`、`$openclaw-release-ci` 與 `$one-password` 的場景設計,當涉及穩定的 macOS 資產、私有 macOS 預檢、公證、appcast 推廣或發佈復原時即可啟用。技能涵蓋憑證管理(透過 1Password 儲存 App Store Connect API 金鑰)、GitHub Secrets 的配置、工作流程的觸發(預檢、驗證、正式發佈)以及最終的驗證檢查。支援的平台為 macOS 與 GitHub Actions。使用方式包括透過 CLI 執行 `gh workflow run` 命令,並需確保 ASC 憑證有效、所有 secret 來自同一個 1Password 項目,且發佈前必須通過私有的預檢與驗證工作流程。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/.agents/skills/openclaw-mac-release

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

OpenClaw Mac 發佈

當涉及穩定的 macOS 資產、私有 macOS 預檢、公證、appcast 推廣或 Mac 發佈復原時,請搭配 $openclaw-release-maintainer、$openclaw-release-ci 和 $one-password 使用。

憑證

  • 標準 ASC 項目:保險庫 Molty,標題 API Key - App Store Connect - Personal - Release。
  • 欄位:private_key_p8、key_id、issuer_id。
  • 目前已知有效的金鑰 ID:AKVLXW849T。
  • 舊版鏡像:保險庫 Private,標題 API Key - App Store Connect - Personal;保持同步以供舊版參考。
  • 憑證過期/撤銷的症狀:xcrun notarytool submit 失敗,出現 HTTP status code: 401. Unauthenticated。
  • 在設定 GitHub Secrets 之前,先用 xcrun notarytool history 驗證候選 ASC 憑證的有效性。

1Password

  • 使用 $one-password:所有的 op 操作都在一個持續的 tmux 工作階段內進行,不輸出 secret。
  • 對於 Molty 讀取,建議使用來自 ~/.profile 的 OP_SERVICE_ACCOUNT_TOKEN。
  • 不要假設 MOLTY_OP_SERVICE_ACCOUNT_TOKEN 仍然有效;它之前曾指向一個已刪除的服務帳戶。
  • 如果服務 token 失敗,僅執行狀態檢查:檢查 token 是否存在/長度以及 op whoami;切勿印出 token 值。
  • 如果需要桌面應用程式驗證但 Touch ID 不可用,請設定 OP_BIOMETRIC_UNLOCK_ENABLED=false 以使用手動 op account add --signin 路徑。

GitHub Secrets

目標私有儲存庫環境:openclaw/releases-private,環境 mac-release。

僅在本地 notary 驗證通過後設定:

  • APP_STORE_CONNECT_API_KEY_P8
  • APP_STORE_CONNECT_KEY_ID
  • APP_STORE_CONNECT_ISSUER_ID

不要從混合來源更新這些值。所有三個 ASC 欄位必須來自同一個 1Password 項目。

工作流程形狀

  • 公開發佈分支可能在穩定標籤/npm 已經上線後,仍然包含僅限 Mac 的打包修復。
  • 在建立該分支變體時,使用 source_ref=release/YYYY.M.D 進行私有 macOS 預檢/驗證。
  • 保持 tag=vYYYY.M.D 指向原始穩定發佈提交。
  • 真正的 Mac 發佈必須重複使用:
    • 針對相同標籤/來源 SHA 的成功私有 macOS 預檢執行
    • 針對相同標籤/來源 SHA 的成功私有 macOS 驗證執行
  • 如果預檢的來源 SHA 與標籤 SHA 不同,則驗證也必須使用相同的 source_ref;推廣會拒絕不匹配的證明。

公證

  • OpenClaw 使用 scripts/notarize-mac-artifact.sh。
  • xcrun notarytool submit 應使用 --no-s3-acceleration;加速上傳可能在 notarytool history 成功的情況下仍觸發誤報的 401 錯誤。
  • 如果簽署成功但公證立即因 401 失敗,請先檢查 ASC 金鑰是否最新。
  • 如果在寫入金鑰檔案後公證持續進行數分鐘,這是正常的 Apple 等待時間;請勿盲目編輯。

調度

私有預檢:

gh workflow run openclaw-macos-publish.yml --repo openclaw/releases-private --ref main \
  -f tag=vYYYY.M.D \
  -f source_ref=release/YYYY.M.D \
  -f preflight_only=true \
  -f smoke_test_only=false \
  -f allow_late_calver_recovery=false \
  -f public_release_branch=release/YYYY.M.D

針對分支變體預檢的私有驗證:

gh workflow run openclaw-macos-validate.yml --repo openclaw/releases-private --ref main \
  -f tag=vYYYY.M.D \
  -f source_ref=release/YYYY.M.D

正式發佈:

gh workflow run openclaw-macos-publish.yml --repo openclaw/releases-private --ref main \
  -f tag=vYYYY.M.D \
  -f preflight_only=false \
  -f smoke_test_only=false \
  -f preflight_run_id=<成功預檢執行的 ID> \
  -f validate_run_id=<成功驗證執行的 ID> \
  -f allow_late_calver_recovery=false \
  -f public_release_branch=release/YYYY.M.D

驗證

  • gh release view vYYYY.M.D --repo openclaw/openclaw 顯示 zip、dmg、dSYM zip,不是草稿,不是預發佈。
  • 公開的 main 分支 appcast.xml 指向 OpenClaw-YYYY.M.D.zip。
  • Appcast 條目包含 sparkle:version、sparkle:shortVersionString、長度和 sparkle:edSignature。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

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

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

相關技能