Skip to content

Commit

Permalink
Handle missing versions more gracefully
Browse files Browse the repository at this point in the history
  • Loading branch information
tianon committed Mar 6, 2024
1 parent d5ba02d commit 269679c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ for version in "${versions[@]}"; do
export version

if \
! goJson="$(jq <<<"$goVersions" -c '
! goJson="$(jq <<<"$goVersions" -ce '
[ .[] | select(.major == env.version) ] | sort_by(
.version
| split(".")
Expand Down

0 comments on commit 269679c

Please sign in to comment.