Skip to content

Commit 3812b0d

Browse files
committed
fix: normalise PREBUILD_NAME to node.napi
prebuilify will add .node extension to generated binding
1 parent 8566c8d commit 3812b0d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

script/ci/prebuild.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,14 @@ fi
1919

2020
PREBUILDIFY_VERSION=6.0.1
2121
NODE_VERSION=$(node -p process.version)
22-
PREBUILD_NAME="node.napi.node"
22+
PREBUILD_NAME="node.napi"
2323

2424
## normalise OS and ARCH names
2525
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
2626
ARCH=$(uname -m | tr '[:upper:]' '[:lower:]')
2727
case $OS in
2828
"windows"* | "mingw64"*)
2929
OS=win32
30-
PREBUILD_NAME="node.napi"
3130
;;
3231
esac
3332
node --version

0 commit comments

Comments
 (0)