Fix breaking yaml new lines in the strings. (#390)

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
pull/391/head
Oleksandr Andriienko 2020-08-06 11:43:50 +03:00 committed by GitHub
parent 77ad1abd06
commit 123ef4334d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ do
done
mv "${CSV_FILE_COPY}" "${CSV_FILE_COPY}.old"
yq -ryY "
yq -rY "
( .spec.relatedImages ) += [${RELATED_IMAGES}] |
( .spec.install.spec.deployments[0].spec.template.spec.containers[0].env ) += [${RELATED_IMAGES_ENV}]
" "${CSV_FILE_COPY}.old" > "${CSV_FILE_COPY}"