Skip to content

Commit

Permalink
[ci] Fixed missing end to jq if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisjbell committed Oct 20, 2022
1 parent 45fa741 commit 0608ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/scripts/compare-release-specs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ unchanged=()
changed=()
while IFS='' read -r rel; do
prev_ver="$(echo "$prev_releases" | jq -r --arg r "$rel" \
'.releases | map(select(.name == $r) | .version) | sort | unique | join(",") | if(.|length>0) then . else "--none--" | join(",")' )"
'.releases | map(select(.name == $r) | .version) | sort | unique | join(",") | if(.|length>0) then . else "--none--" end | join(",")' )"
if [[ "$prev_ver" == "--none--" ]] ; then continue ; fi
curr_ver="$(echo "$curr_releases" | jq -r --arg r "$rel" \
'.releases | map(select(.name == $r) | .version) | sort | unique | join(",")' )"
Expand Down

0 comments on commit 0608ec6

Please sign in to comment.