New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong release listed as 'latest' in github #28530
Comments
Hi @ajchiarello, I don't think there is any way to define what "latest" means in the GitHub UI. It appears that GitHub uses that to mean "most recent", and 0.11.15 is the most recent tag in the repo. |
Yes, GitHub's idea of "latest release" is the release with the newest Git tag, and so it's not really a useful signal for anything except GitHub deciding what to show in the UI. If you noticed this because you built some automation around GitHub's idea of latest then I would suggest using a different strategy to decide "latest", because GitHub's idea of "latest" is not fit for that purpose and isn't something we can customize. One other possibility is to use the JSON index of releases on |
Ah - thanks, I had misunderstood how the latest tag was applied, and had gotten lucky in the past. I'll use a different method to pull the version. |
TIL: The git command can sort tags in semver order.
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
I have a system that automatically pulls the release marked as 'latest' on github, and was surprised when it pulled version 0.11.15 this morning instead of 0.15.1 - did you intend to mark 0.11.15 as 'latest'?
The text was updated successfully, but these errors were encountered: