X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Frelease-job.sh;h=ee5ab70aab0db14e20b48ed7a8b77eab52edbb2e;hb=refs%2Fchanges%2F51%2F62851%2F1;hp=ccaa7824df229eaf604827585212d323634a6647;hpb=29db2fd816d8fe8310e208e70ce203be03c53980;p=releng%2Fglobal-jjb.git diff --git a/shell/release-job.sh b/shell/release-job.sh index ccaa7824..ee5ab70a 100644 --- a/shell/release-job.sh +++ b/shell/release-job.sh @@ -313,8 +313,8 @@ container_release_file(){ local lfn_umbrella lfn_umbrella="$(echo "$GERRIT_URL" | awk -F"." '{print $2}')" - for namequoted in $(cat $release_file | yq '.containers[].name'); do - versionquoted=$(cat $release_file | yq ".containers[] |select(.name==$namequoted) |.version") + for namequoted in $(yq '.containers[].name' $release_file); do + versionquoted=$(yq ".containers[] |select(.name==$namequoted) |.version" $release_file) #Remove extra yaml quotes name="${namequoted#\"}"