summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.json2
-rwxr-xr-xplatform/node/scripts/after_success.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index aca5c5cdc0..76a96c3cf9 100644
--- a/package.json
+++ b/package.json
@@ -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}",
diff --git a/platform/node/scripts/after_success.sh b/platform/node/scripts/after_success.sh
index 7ef8f53545..95921a42c2 100755
--- a/platform/node/scripts/after_success.sh
+++ b/platform/node/scripts/after_success.sh
@@ -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