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: improve macOS notarization process output readability · nodejs/node@0aaab45

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
+10-13Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,19 @@ fi
3737
# Submit the package for notarization
3838
# TODO(@ulisesGascon): refactor to use --keychain-profile
3939
# when https://github.com/nodejs/build/issues/3385#issuecomment-1729281269 is ready
40-
notarization_output=$(
41-
xcrun notarytool submit \
42-
--apple-id "$NOTARIZATION_ID" \
43-
--password "$NOTARIZATION_PASSWORD" \
44-
--team-id "$NOTARIZATION_TEAM_ID" \
45-
--wait \
46-
"node-$pkgid.pkg" 2>&1
47-
)
40+
echo "Submitting node-$pkgid.pkg for notarization..."
41+
42+
xcrun notarytool submit \
43+
--apple-id "$NOTARIZATION_ID" \
44+
--password "$NOTARIZATION_PASSWORD" \
45+
--team-id "$NOTARIZATION_TEAM_ID" \
46+
--wait \
47+
"node-$pkgid.pkg"
4848

4949
if [ $? -eq 0 ]; then
50-
# Extract the operation ID from the output
51-
operation_id=$(echo "$notarization_output" | awk '/RequestUUID/ {print $NF}')
52-
echo "Notarization submitted. Operation ID: $operation_id"
50+
echo "Notarization node-$pkgid.pkg submitted successfully."
5351
exit 0
5452
else
55-
echo "Notarization failed. Error: $notarization_output"
53+
echo "Notarization node-$pkgid.pkg failed."
5654
exit 1
5755
fi
58-

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.