GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: add macOS notarization verification step · nodejs/node@5de3053

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tools
    • osx-notarize.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tools/osx-notarize.sh‎

Copy file name to clipboardExpand all lines: tools/osx-notarize.sh
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,12 @@ else
4848
exit 1
4949
fi
5050

51+
if ! xcrun spctl --assess --type install --context context:primary-signature --ignore-cache --verbose=2 "node-$pkgid.pkg"; then
52+
echo "error: Signature will not be accepted by Gatekeeper!" 1>&2
53+
exit 1
54+
else
55+
echo "Verification was successful."
56+
fi
57+
5158
xcrun stapler staple "node-$pkgid.pkg"
5259
echo "Stapler was successful."

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.