mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-21 04:35:49 +00:00
[TASK] update publish scripts
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
echo "PUBLISH"
|
||||||
|
|
||||||
function exit_on_error {
|
function exit_on_error {
|
||||||
res=$?
|
res=$?
|
||||||
[[ ${res:-99} -eq 0 ]] || exit $res
|
[[ ${res:-99} -eq 0 ]] || exit $res
|
||||||
@@ -5,6 +7,7 @@ function exit_on_error {
|
|||||||
|
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
|
||||||
|
npm install
|
||||||
gulp
|
gulp
|
||||||
npm test
|
npm test
|
||||||
exit_on_error
|
exit_on_error
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
echo "PUBLISH RELEASE CANDIDATE"
|
||||||
|
|
||||||
function exit_on_error {
|
function exit_on_error {
|
||||||
res=$?
|
res=$?
|
||||||
[[ ${res:-99} -eq 0 ]] || exit $res
|
[[ ${res:-99} -eq 0 ]] || exit $res
|
||||||
@@ -5,6 +7,7 @@ function exit_on_error {
|
|||||||
|
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
|
||||||
|
npm install
|
||||||
gulp
|
gulp
|
||||||
npm test
|
npm test
|
||||||
exit_on_error
|
exit_on_error
|
||||||
|
|||||||
Reference in New Issue
Block a user