Add fail fast option
Fail the script if a command inside it fails to prevent a install with exitcode 0 even when commands in it are failing.
This commit is contained in:
parent
4a25adba23
commit
9122ccd1b8
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# run command at repo root
|
||||
CURRENT_PATH=$PWD
|
||||
if [ -d .git ]; then
|
||||
|
|
Loading…
Reference in a new issue