File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 77 -H " Authorization: token $DESKTOP_CERT_TOKEN " \
88 -H " Accept: application/vnd.github.v3.raw" \
99 --output windows-certificate.pfx \
10- --silent \
10+ # --silent \
1111 https://api.github.com/repos/desktop/desktop-secrets/contents/windows-certificate.pfx
1212
1313PROGRAM_NAME=" GitHub CLI"
1414
1515# Convert private key to the expected format
1616openssl pkcs12 -in windows-certificate.pfx -nocerts -nodes -out private-key.pem -passin pass:${GITHUB_CERT_PASSWORD}
17- openssl rsa -in private-key.pem -outform PVK -pvk-none -out private-key.pvk 2> /dev/null # Always writes to STDERR
17+ openssl rsa -in private-key.pem -outform PVK -pvk-none -out private-key.pvk # 2>/dev/null # Always writes to STDERR
1818
1919# Convert certificate chain into the expected format
2020openssl pkcs12 -in windows-certificate.pfx -nokeys -nodes -out certificate.pem -passin pass:${GITHUB_CERT_PASSWORD}
@@ -26,5 +26,5 @@ signcode \
2626 -n $PROGRAM_NAME \
2727 -t http://timestamp.digicert.com \
2828 -a sha256 \
29- $EXECUTABLE_PATH \
30- 1 > /dev/null # STDOUT a little bit chatty here, with multiple lines
29+ $EXECUTABLE_PATH # \
30+ # 1 > /dev/null # STDOUT a little bit chatty here, with multiple lines
You can’t perform that action at this time.
0 commit comments