Skip to content

Version 3.5.16 shown as latest in GitHub Releases #50927

Description

@filiphr

Not sure if this is on purpose or not, but the latest version shown in the GitHub Releases section is 3.5.16

Image

The reason it is shown is because the release is done using the GitHub CLI with

gh release create 

in

https://github.com/spring-projects/spring-boot/blob/4c346884f379af3032d45041d8f620cc147b1a79/.github/actions/create-github-release/action.yml#L30C12-L30C30

The CLI has a --latest flag that can be set to true or false.

However, in order to make it simpler for you I would advise using the GitHub REST API (https://docs.github.com/en/rest/releases/releases?apiVersion=2026-03-10#create-a-release) directly. This one has 3 options of the make_latest parameter:

  • true - the default and it is the same as gh release create
  • false
  • legacy - specifies that the latest release should be determined based on the release creation date and higher semantic version. In my opinion this is the most correct one, as you want to see the latest as the version with the highest semantic version, independent on whether or not it was released before or after some earlier version

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions