Skip to content
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

Tooling reports latest alpha version as outdated, v3.0.0-alpha-29 as current #558

Open
mologie opened this issue Mar 26, 2024 · 0 comments

Comments

@mologie
Copy link

mologie commented Mar 26, 2024

Due to #538, tooling such as Jetbrains GoLand, go-mod-update, etc. currently show v3.0.0-alpha-29 as latest version because it is lexicographical higher than v3.0.0-alpha.30.

Unfortunately it's not possible to retract the version either because of the following condition in go.mod:

To retract a version, a module author should add a retract directive to go.mod, then publish a new version containing that directive. The new version must be higher than other release or pre-release versions; that is, the latest version query should resolve to the new version before retractions are considered.

A future version will have to be published as v3.0.0-beta or v3.0.1-alpha to fix update checks in most go tooling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant