Skip to content

JDK 21 EA API request doesn't return latest buildΒ #794

@jerboaa

Description

@jerboaa

Describe the bug
When I attempt to get the latest nightly, then the API returns a 3-weeks old release. This one:
https://github.com/adoptium/temurin21-binaries/releases/jdk-21.0.1%2B12-ea-beta/

However, there has been newer builds since. For example this one from two days ago:
https://github.com/adoptium/temurin21-binaries/releases/jdk21u-2023-11-08-15-55-beta

To Reproduce
Steps to reproduce the behavior:

$ curl -v https://api.adoptium.net/v3/binary/latest/21/ea/linux/x64/jdk/hotspot/normal/eclipse 2>&1 | grep Location
< Location: https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.1%2B12-ea-beta/OpenJDK21U-jdk_x64_linux_hotspot_ea_21-0-1-12.tar.gz

Expected behavior
Return a redirect to:
https://github.com/adoptium/temurin21-binaries/releases/download/jdk21u-2023-11-08-15-55-beta/OpenJDK21U-jdk_x64_linux_hotspot_2023-11-08-15-55.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions