Skip to content

Commit

Permalink
tools: remove unused version function
Browse files Browse the repository at this point in the history
PR-URL: #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
UlisesGascon authored and targos committed Nov 11, 2023
1 parent 50e654a commit cdbb038
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 cdbb038

Please sign in to comment.