diff --git a/create-release.sh b/create-release.sh index 2af70ab..0341223 100755 --- a/create-release.sh +++ b/create-release.sh @@ -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