Skip to content

Commit

Permalink
fix darwin universal (#171072)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Jan 11, 2023
1 parent 90aced5 commit 89e4272
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -149,6 +149,7 @@ steps:
security unlock-keychain -p pwd $(agent.tempdirectory)/buildagent.keychain
echo "$(macos-developer-certificate)" | base64 -D > $(agent.tempdirectory)/cert.p12
security import $(agent.tempdirectory)/cert.p12 -k $(agent.tempdirectory)/buildagent.keychain -P "$(macos-developer-certificate-key)" -T /usr/bin/codesign
export CODESIGN_IDENTITY=$(security find-identity -v -p codesigning $(agent.tempdirectory)/buildagent.keychain | grep -oEi "([0-9A-F]{40})" | head -n 1)
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k pwd $(agent.tempdirectory)/buildagent.keychain
VSCODE_ARCH=$(VSCODE_ARCH) DEBUG=electron-osx-sign* node build/darwin/sign.js
displayName: Set Hardened Entitlements
Expand Down

0 comments on commit 89e4272

Please sign in to comment.