Skip to content

Commit

Permalink
fix: change version field name
Browse files Browse the repository at this point in the history
  • Loading branch information
dmelina committed Oct 2, 2024
1 parent 9537600 commit cf884c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/java-latest-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [ $exit_code -ne 0 ]; then
exit $exit_code
fi

java_version=$(echo "$zulu_output" | jq '.[0].jdk_version | _nwise(3)| join(".")' | jq --slurp | jq 'join("+")' -r)
java_version=$(echo "$zulu_output" | jq '.[0].distro_version | _nwise(3)| join(".")' | jq --slurp | jq 'join("+")' -r)
exit_code=$?

if [ $exit_code -ne 0 ]; then
Expand Down

0 comments on commit cf884c2

Please sign in to comment.