Skip to content

Commit ad32603

Browse files
UlisesGasconrichardlau
authored andcommitted
tools: remove unused version function
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]>
1 parent 2f32472 commit ad32603

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)