Skip to content

Commit

Permalink
[ci] Fixed spec-check for obscure release source
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisjbell committed Dec 19, 2022
1 parent 87f835e commit 927a8b3
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 @@ -108,7 +108,7 @@ if [[ "${#changed[@]}" -gt 0 && -n "${changed[0]}" ]] ; then
echo "$curr_releases" \
| jq --argjson gitrepos "$upstreamrepo" -r 'reduce .releases[] as {$name, $url, $sha1, $version} ({repos: []};
($url
| if ($url | test("https?://s3.amazonaws.com")) then
| if ($url | test("https?://s3(-.*)?.amazonaws.com")) then
($gitrepos.repos | map(select(.name == $name))[0].repo)
elif ($url | test("https?://bosh.io")) then
($url | sub("^.*/d/";"https://") | sub("\\?v=.*$";""))
Expand Down

0 comments on commit 927a8b3

Please sign in to comment.