Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/pkgsite: /<path> should show the contents for the latest version of the containing module #39244
What is the URL of the page with the issue?
https://godoc.org/github.com/pdfcpu/pdfcpu asks to switch to go.dev
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
What did you do?
Go to pdfcpu and click on the godoc badge.
What did you expect to see?
The go.dev page showing the latest release (v0.3.3) of pdfcpu
What did you see instead?
It shows the old release v0.1.11 with a blue badge latest which is false.
The reason this gets the 'latest' badge is because the redirect takes you to the package page for the package github.com/pdfcpu/pdfcpu, which I'm guessing last existed at v0.1.11 at that specific path. Pkg.go.dev does in fact have v0.3.3 of the module: https://pkg.go.dev/mod/github.com/pdfcpu/pdfcpu?tab=versions
So there are two problems here, AFAICT: