From 3abc28d8596124ff30b86d1c24f1876dcb4f6faa Mon Sep 17 00:00:00 2001 From: Mo Date: Tue, 5 Jul 2022 09:56:03 -0500 Subject: [PATCH] chore: components packaging script early exit --- packages/components/scripts/VERSION.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/components/scripts/VERSION.sh b/packages/components/scripts/VERSION.sh index 6fbeacfb9..7dfb40f88 100755 --- a/packages/components/scripts/VERSION.sh +++ b/packages/components/scripts/VERSION.sh @@ -2,6 +2,9 @@ echo 'Building components from' $(pwd) +# Exit immediately after an error in any command +set -e + yarn clean && yarn build:components echo "Packaging component assets and zips..."