Skip to content

Commit

Permalink
Update merge.sh
Browse files Browse the repository at this point in the history
added `set -e` to cause it to error
  • Loading branch information
ChuckJonas authored Apr 3, 2024
1 parent f059be7 commit e7ef8f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generators/app/templates/static/build/merge.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit e7ef8f0

Please sign in to comment.