Skip to content

ci: add notarized macOS release gate - #134

Draft
SingLinkNetwork wants to merge 1 commit into
mainfrom
release/macos-signing
Draft

ci: add notarized macOS release gate#134
SingLinkNetwork wants to merge 1 commit into
mainfrom
release/macos-signing

Conversation

@SingLinkNetwork

Copy link
Copy Markdown
Owner

改善

新增一個只可手動啟動的 macOS 正式發行流程:

  • 發行前檢查六項 GitHub Secrets;任何一項缺失即失敗。
  • 使用暫存 Keychain 匯入 Developer ID 憑證,簽署 App 並重新製作 DMG。
  • 透過 Apple notarytool 公證、stapling,並掛載最終 DMG 執行 codesign 與 Gatekeeper 驗收。
  • 只有全部驗收成功且明確選擇 publish 時,才會上傳至 GitHub Release。
  • 一般 PR 不會取得 Apple 機密;新增靜態檢查防止未來移除上述安全閘門。

已驗證

  • macOS 發行流程安全驗證器通過。
  • CI 結構驗證通過,現有 41 項獨立靜態檢查均受保護。
  • 本機 task 相關 Flutter 測試 21 項通過。
  • 等待完整跨平台 CI。

Partially addresses #114. 真實簽署、公證與乾淨 macOS 安裝驗收必須等 Apple Developer 機密設定完成後進行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant