Add set -e to hook scripts to exit on fail
MAILPOET-4237
This commit is contained in:
committed by
John Oleksowicz
parent
52397951d8
commit
fcc4be330c
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
source $PWD/.env
|
source $PWD/.env
|
||||||
|
|
||||||
if [ "$MP_GIT_HOOKS_ENABLE" != "true" ]; then
|
if [ "$MP_GIT_HOOKS_ENABLE" != "true" ]; then
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
source $PWD/.env
|
source $PWD/.env
|
||||||
|
|
||||||
if [ "$MP_GIT_HOOKS_ENABLE" != "true" ]; then
|
if [ "$MP_GIT_HOOKS_ENABLE" != "true" ]; then
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
source $PWD/.env
|
source $PWD/.env
|
||||||
|
|
||||||
if [ "$MP_GIT_HOOKS_ENABLE" != "true" ]; then
|
if [ "$MP_GIT_HOOKS_ENABLE" != "true" ]; then
|
||||||
|
Reference in New Issue
Block a user