changed build scripts
This commit is contained in:
parent
d0a6e6fa5b
commit
b7d6eb1987
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,9 @@ if [[ $1 != "" ]]; then
|
||||||
method=$1
|
method=$1
|
||||||
fi
|
fi
|
||||||
npm version $method
|
npm version $method
|
||||||
|
if [[ $? != 0 ]]; then
|
||||||
|
exit
|
||||||
|
fi
|
||||||
npm run build
|
npm run build
|
||||||
if [[ $? == 0 ]]; then
|
if [[ $? == 0 ]]; then
|
||||||
tar czf cmc_fe.tar.gz dist
|
tar czf cmc_fe.tar.gz dist
|
||||||
|
|
Loading…
Reference in a new issue