Files
MapLibreParticleLab/platform/node/scripts/after_success.sh
2017-03-14 16:19:47 -07:00

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