Files
xahau.js/scripts/publish_rc
2017-11-03 15:30:41 -07:00

19 lines
237 B
Plaintext

echo "PUBLISH RELEASE CANDIDATE"
function exit_on_error {
res=$?
[[ ${res:-99} -eq 0 ]] || exit $res
}
rm -rf build
yarn install
gulp
yarn test
exit_on_error
echo ""
echo "publish rc to npm"
yarn publish --tag beta
exit_on_error