[node] Specify build type (#8406)

This commit is contained in:
Bobby Sudekum
2017-03-14 16:19:47 -07:00
committed by GitHub
parent b938afa8fa
commit fb2674e44d
2 changed files with 2 additions and 2 deletions

View File

@@ -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}",

View File

@@ -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