From e7ef8f02bc5d268f634fe68f73aab425b1a063e8 Mon Sep 17 00:00:00 2001 From: Charlie Jonas Date: Wed, 3 Apr 2024 07:40:12 -0700 Subject: [PATCH] Update merge.sh added `set -e` to cause it to error --- generators/app/templates/static/build/merge.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/generators/app/templates/static/build/merge.sh b/generators/app/templates/static/build/merge.sh index 3267aac..d4a0cc5 100755 --- a/generators/app/templates/static/build/merge.sh +++ b/generators/app/templates/static/build/merge.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + #confirm deploy was in fact successful DEPLOY_SUCCESS=$(sfdx force:mdapi:deploy:report --json | jq .result.success) [ $DEPLOY_SUCCESS != 'true' ] && echo "Deployment Failed" && exit 1