File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2+ set -e
23
34GITHUB_CERT_PASSWORD=$1
45DESKTOP_CERT_TOKEN=$2
910 --output windows-certificate.pfx \
1011 https://api.github.com/repos/desktop/desktop-secrets/contents/windows-certificate.pfx
1112
12- openssl pkcs12 -in windows-certificate.pfx -nocerts -nodes -out private-key.pem -passin pass:${GITHUB_CERT_PASSWORD} || echo " no bueno 1 "
13- openssl pkcs12 -in windows-certificate.pfx -nokeys -nodes -out certificate.pem -passin pass:${GITHUB_CERT_PASSWORD} || echo " no bueno 2 "
13+ openssl pkcs12 -in windows-certificate.pfx -nocerts -nodes -out private-key.pem -passin pass:${GITHUB_CERT_PASSWORD}
14+ openssl pkcs12 -in windows-certificate.pfx -nokeys -nodes -out certificate.pem -passin pass:${GITHUB_CERT_PASSWORD}
You can’t perform that action at this time.
0 commit comments