ci: fix GCP CCM findvers.sh script (#3178)

This commit is contained in:
Markus Rudy 2024-06-19 16:26:02 +02:00 committed by GitHub
parent 9cd1184244
commit 132d540ac0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,4 +82,4 @@ for major in "${allMajorVersions[@]}"; do
done
# Print one elem per line | quote elems | create array | remove empty elems and print compact.
printf '%s' "${versionsToBuild[@]}" | jq -R | jq -s | jq -c 'map(select(length > 0))'
printf '%s\n' "${versionsToBuild[@]}" | jq -R | jq -s | jq -c 'map(select(length > 0))'