Skip to content

Commit

Permalink
fix: store spec in CI script (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp committed Feb 3, 2022
1 parent bf5203e commit 8fe7f4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/ci/create-spec-matrix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8fe7f4e

Please sign in to comment.