13 lines
309 B
Bash
13 lines
309 B
Bash
|
|
#!/usr/bin/env bash
|
||
|
|
|
||
|
|
set -euo pipefail
|
||
|
|
|
||
|
|
EDITIONS=$(yq ea "." editions.yaml | yq 'keys[]')
|
||
|
|
IFS=$'\n'
|
||
|
|
while IFS=$'\n' read -r EDITION; do
|
||
|
|
if [[ $(yq ea ".$EDITION.include-in-checkall" editions.yaml) == "true" ]]
|
||
|
|
then
|
||
|
|
export EDITION
|
||
|
|
./test-edition.sh $EDITION
|
||
|
|
fi
|
||
|
|
done <<< "$EDITIONS"
|