From b7d6eb19874932ce5626db3840ab8aa6af29b762 Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Fri, 24 Mar 2023 17:10:13 +0000 Subject: [PATCH] changed build scripts --- create-release.sh | 3 +++ 1 file changed, 3 insertions(+) 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