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
fi
npm version $method
if [[ $? != 0 ]]; then
exit
fi
npm run build
if [[ $? == 0 ]]; then
tar czf cmc_fe.tar.gz dist