x/pkgsite: prefer prerelease over pseudo when defining @latest #41379
Milestone
Comments
Change https://golang.org/cl/254577 mentions this issue: |
gopherbot
pushed a commit
to golang/pkgsite
that referenced
this issue
Sep 14, 2020
The definition of @latest is changed to prefer pre-release versions over pseudo-versions. This matches the definition of @latest for the go command as of go1.13. For golang/go#41379 Change-Id: Ia5e4cc42822245636d216467aee1e088a40569c5 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/254577 Run-TryBot: Julie Qiu <julie@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com> Trust: Julie Qiu <julie@golang.org>
Fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
go help goproxy
says:We currently implement the older meaning of latest (highest release, then highest anything else).
We should change that to prefer pre-release versions to pseudo-versions.
Example: pkg.go.dev/github.com/Netflix/titus-api-definitions shows
the pseudo-version
v0.0.1-rc9.0.20200212222136-a4a89636720b
but
go get github.com/Netflix/titus-api-definitions@latest
fetchesv0.0.01-rc9
and https://proxy.golang.org/github.com/!netflix/titus-api-definitions/@latest:The text was updated successfully, but these errors were encountered: