From 79da5e2df152fe6e4381d311928b711ff038b6f7 Mon Sep 17 00:00:00 2001 From: Ulises Gascon Date: Wed, 25 Oct 2023 15:54:30 +0200 Subject: [PATCH] tools: remove unused version function --- tools/osx-notarize.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/osx-notarize.sh b/tools/osx-notarize.sh index 499bf168b23562..fbb2e4eb11ee8a 100755 --- a/tools/osx-notarize.sh +++ b/tools/osx-notarize.sh @@ -3,10 +3,6 @@ # Notarize a generated node-.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