From be6aabb4ebbbb57b8ca07dea7239a7dc4511d96a Mon Sep 17 00:00:00 2001 From: Maple Date: Sun, 26 Apr 2026 14:39:05 +0200 Subject: [PATCH] add pipefails propperly --- check-all.sh | 2 ++ check-edition.sh | 3 +++ 2 files changed, 5 insertions(+) diff --git a/check-all.sh b/check-all.sh index e44fa1b..47cbfbe 100755 --- a/check-all.sh +++ b/check-all.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -e pipefail + SETTINGS=$(yq ea "." editions.yaml | yq 'keys[]') IFS=$'\n' while IFS=$'\n' read -r EDITION; do diff --git a/check-edition.sh b/check-edition.sh index 9caaa67..7f814cb 100755 --- a/check-edition.sh +++ b/check-edition.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash + +set -e pipefail + if [ -z ${EDITION+x} ]; then EDITION=$1 fi