From 3812b0def2559492c0ad4608db062e7c53526fec Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Tue, 23 Apr 2024 13:02:33 +0100 Subject: [PATCH] fix: normalise PREBUILD_NAME to node.napi prebuilify will add .node extension to generated binding --- script/ci/prebuild.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script/ci/prebuild.sh b/script/ci/prebuild.sh index 05a26aef..c3c5b0a3 100755 --- a/script/ci/prebuild.sh +++ b/script/ci/prebuild.sh @@ -19,7 +19,7 @@ fi PREBUILDIFY_VERSION=6.0.1 NODE_VERSION=$(node -p process.version) -PREBUILD_NAME="node.napi.node" +PREBUILD_NAME="node.napi" ## normalise OS and ARCH names OS=$(uname -s | tr '[:upper:]' '[:lower:]') @@ -27,7 +27,6 @@ ARCH=$(uname -m | tr '[:upper:]' '[:lower:]') case $OS in "windows"* | "mingw64"*) OS=win32 - PREBUILD_NAME="node.napi" ;; esac node --version