Skip to content

Commit

Permalink
tools: remove unused version function
Browse files Browse the repository at this point in the history
PR-URL: nodejs#50390
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
UlisesGascon authored and alexfernandez committed Nov 1, 2023
1 parent ace4a86 commit 8fc5e2b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions 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 8fc5e2b

Please sign in to comment.