Make bash scripts exit on error rather than continue (#23467)
This commit is contained in:
parent
0e8e472138
commit
341b0b469e
6 changed files with 9 additions and 4 deletions
|
@ -3,6 +3,8 @@
|
|||
# Echoes a version based on the git hashes of the element-web, react-sdk & js-sdk checkouts, for the case where
|
||||
# these dependencies are git checkouts.
|
||||
|
||||
set -e
|
||||
|
||||
# Since the deps are fetched from git, we can rev-parse
|
||||
REACT_SHA=$(git -C node_modules/matrix-react-sdk rev-parse --short=12 HEAD)
|
||||
JSSDK_SHA=$(git -C node_modules/matrix-js-sdk rev-parse --short=12 HEAD)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue