From d8bf370e2b984582dcf3a795a00da550cfb33144 Mon Sep 17 00:00:00 2001 From: Pierre Millot Date: Thu, 3 Feb 2022 10:08:16 +0100 Subject: [PATCH] fix: store spec in CI script (#113) --- scripts/ci/create-spec-matrix.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ci/create-spec-matrix.sh b/scripts/ci/create-spec-matrix.sh index 5272f91c20..749ea7dbbc 100755 --- a/scripts/ci/create-spec-matrix.sh +++ b/scripts/ci/create-spec-matrix.sh @@ -11,6 +11,7 @@ for generator in "${GENERATORS[@]}"; do client=${generator#*-} if [[ ! ${SPECS[*]} =~ $client ]]; then changed=$(git diff --shortstat origin/$BASE_BRANCH..HEAD -- specs/$client | wc -l) + SPECS+=($client) if [[ $BASE_CHANGED == "true" || $changed > 0 ]]; then to_check=$(echo $to_check | jq --arg client $client '.client |= .+ [$client]') fi