Skip to content

Commit 4622f77

Browse files
UlisesGasconmarco-ippolito
authored andcommittedFeb 12, 2024
tools: remove unused version function
PR-URL: #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>
1 parent 97c4907 commit 4622f77

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎tools/osx-notarize.sh

-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
# Notarize a generated node-<version>.pkg file as an Apple requirement for installation on macOS Catalina and later, as validated by Gatekeeper.
44
# Uses notarytool and requires Xcode >= 13.0.
55

6-
version() {
7-
echo "$@" | awk -F. '{ printf("%d%03d%03d%03d\n", $1,$2,$3,$4); }' || echo "0"
8-
}
9-
106
pkgid="$1"
117

128
if [ -z "$pkgid" ]; then

0 commit comments

Comments
 (0)
Please sign in to comment.