[node] Specify build type (#8406)
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
},
|
||||
"gypfile": true,
|
||||
"binary": {
|
||||
"module_name": "mapbox-gl-native",
|
||||
"module_name": "mapbox_gl_native",
|
||||
"module_path": "./lib/",
|
||||
"host": "https://mapbox-node-binary.s3.amazonaws.com",
|
||||
"remote_path": "./{name}/v{version}",
|
||||
|
||||
@@ -4,7 +4,7 @@ set -e
|
||||
set -o pipefail
|
||||
|
||||
if [[ -n ${PUBLISH:-} ]]; then
|
||||
if [[ "${BUILDTYPE}" == "Debug" ]]; then
|
||||
if [[ "${BUILDTYPE}" != "Release" ]]; then
|
||||
echo "Please run this script in release mode (BUILDTYPE=Release)."
|
||||
exit 1
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user