Add `set -e` to top of `proof` and `cibuild`
Exit immediately on any non-zero exit code
This commit is contained in:
parent
b48123c1e1
commit
8e3ad082e2
|
@ -1,5 +1,7 @@
|
||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
script/branding
|
script/branding
|
||||||
script/proof
|
script/proof
|
||||||
script/test
|
script/test
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
# Usage:
|
# Usage:
|
||||||
# script/proof
|
# script/proof
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
git diff --name-only origin $(git log --pretty=format:"%h" -2 | tail -1) | grep '^site/' || {
|
git diff --name-only origin $(git log --pretty=format:"%h" -2 | tail -1) | grep '^site/' || {
|
||||||
echo "No site files changed. We'll skip proofing."
|
echo "No site files changed. We'll skip proofing."
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue