changed build scripts

This commit is contained in:
Paul Wilde 2023-03-24 17:10:13 +00:00
parent d0a6e6fa5b
commit b7d6eb1987

View file

@ -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