[build] Publish node packages with RelWithDebInfo
This commit is contained in:
@@ -3,10 +3,13 @@
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
if [[ "${PUBLISH:-}" == "true" ]]; then
|
||||
if [[ "${BUILDTYPE}" == "Release" ]]; then
|
||||
if [[ -n ${PUBLISH:-} ]]; then
|
||||
if [[ "${BUILDTYPE}" == "RelWithDebInfo" ]]; then
|
||||
./node_modules/.bin/node-pre-gyp package publish info
|
||||
else
|
||||
elif [[ "${BUILDTYPE}" == "Debug" ]]; then
|
||||
./node_modules/.bin/node-pre-gyp package publish info --debug
|
||||
else
|
||||
echo "error: must provide either Debug or RelWithDebInfo for BUILDTYPE"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user