Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[node] Fix module_name, check if release #8406

Merged
merged 1 commit into from
Mar 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down
2 changes: 1 addition & 1 deletion platform/node/scripts/after_success.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down