add pipefails propperly
This commit is contained in:
parent
50864770fe
commit
be6aabb4eb
2 changed files with 5 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e pipefail
|
||||||
|
|
||||||
SETTINGS=$(yq ea "." editions.yaml | yq 'keys[]')
|
SETTINGS=$(yq ea "." editions.yaml | yq 'keys[]')
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
while IFS=$'\n' read -r EDITION; do
|
while IFS=$'\n' read -r EDITION; do
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e pipefail
|
||||||
|
|
||||||
if [ -z ${EDITION+x} ]; then
|
if [ -z ${EDITION+x} ]; then
|
||||||
EDITION=$1
|
EDITION=$1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue