github-desktop/script/setup-macos-keychain
2017-09-12 12:00:08 -04:00

6 lines
272 B
Bash
Executable file

#!/bin/sh
curl -H "Authorization: token ${DESKTOPBOT_TOKEN}" -H 'Accept: application/vnd.github.v3.raw' -O -L https://api.github.com/repos/desktop/desktop-secrets/contents/developer-id-cert.p12
security import developer-id-cert.p12 -P $KEY_PASSWORD -T /usr/bin/codesign