Skip to content

Commit

Permalink
tools: remove unused version function
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#50390
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
sercher committed Apr 25, 2024
1 parent 33b5e9e commit 596257b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions graal-nodejs/tools/osx-notarize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
# Notarize a generated node-<version>.pkg file as an Apple requirement for installation on macOS Catalina and later, as validated by Gatekeeper.
# Uses notarytool and requires Xcode >= 13.0.

version() {
echo "$@" | awk -F. '{ printf("%d%03d%03d%03d\n", $1,$2,$3,$4); }' || echo "0"
}

pkgid="$1"

if [ -z "$pkgid" ]; then
Expand Down

0 comments on commit 596257b

Please sign in to comment.