[TASK] update publish scripts

This commit is contained in:
Geert Weening
2014-09-10 17:33:52 -07:00
parent bc7d3c0af8
commit 6e3ceec4e5
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
echo "PUBLISH"
function exit_on_error {
res=$?
[[ ${res:-99} -eq 0 ]] || exit $res
@@ -5,6 +7,7 @@ function exit_on_error {
rm -rf build
npm install
gulp
npm test
exit_on_error

View File

@@ -1,3 +1,5 @@
echo "PUBLISH RELEASE CANDIDATE"
function exit_on_error {
res=$?
[[ ${res:-99} -eq 0 ]] || exit $res
@@ -5,6 +7,7 @@ function exit_on_error {
rm -rf build
npm install
gulp
npm test
exit_on_error