14 lines
286 B
Bash
Executable File
14 lines
286 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
if [[ -n ${PUBLISH:-} ]]; then
|
|
if [[ "${BUILDTYPE}" != "Release" ]]; then
|
|
echo "Please run this script in release mode (BUILDTYPE=Release)."
|
|
exit 1
|
|
else
|
|
./node_modules/.bin/node-pre-gyp package publish info
|
|
fi
|
|
fi
|