1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 06:23:38 +00:00

Fix macOS code signing with pnpm by setting CSC_NAME explicitly

electron-builder 26.0.13 with pnpm falls back to ad-hoc signing when
it can't auto-discover the signing identity. Fix by explicitly setting
CSC_NAME for both Developer ID and App Store builds.

- Developer ID: "Developer ID Application: 8bit Solutions LLC"
- App Store: "3rd Party Mac Developer Application: Bitwarden Inc"
This commit is contained in:
Anders Åberg
2025-12-16 15:25:05 +01:00
parent 009da5ced6
commit 79908b8cd1
3 changed files with 138 additions and 22 deletions

View File

@@ -1499,6 +1499,7 @@ jobs:
APP_STORE_CONNECT_AUTH_KEY: 6TV9MKN3GP
APP_STORE_CONNECT_AUTH_KEY_PATH: ~/private_keys/AuthKey_6TV9MKN3GP.p8
CSC_FOR_PULL_REQUEST: true
CSC_NAME: "Developer ID Application: 8bit Solutions LLC"
run: pnpm run pack:mac
- name: Upload .zip artifact
@@ -1787,6 +1788,7 @@ jobs:
APP_STORE_CONNECT_AUTH_KEY: 6TV9MKN3GP
APP_STORE_CONNECT_AUTH_KEY_PATH: ~/private_keys/AuthKey_6TV9MKN3GP.p8
CSC_FOR_PULL_REQUEST: true
CSC_NAME: "3rd Party Mac Developer Application: Bitwarden Inc"
run: pnpm run pack:mac:mas
- name: Create MacOS App Store build number artifact