-
-
Notifications
You must be signed in to change notification settings - Fork 912
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
[Bug]: go install failed #2463
Comments
hello @sixg0000d, thanks for opening an issue but I couldn't reproduce the same issue, everything is working fine for me. I did the following steps to reproduce the issue: $ go clean --modcache
$ sudo rm -rf $GOPATH/pkg/mod/github.com/vartanbeno/
$ go install github.com/goreleaser/goreleaser@latest
$ goreleaser -version
goreleaser version dev
module version: v0.177.0, checksum: h1:pPjL2NGfrLY5mqEK+3Nk6IgZtPyU9zB9mFxKeF3MU8w=
https://goreleaser.com
$ go list -m -versions github.com/vartanbeno/go-reddit/v2
github.com/vartanbeno/go-reddit/v2 v2.0.0 v2.0.1 |
FROM golang:1.17.0-alpine
RUN go install github.com/goreleaser/goreleaser@latest This works too. But this not: $ cd /path/to/goreleaser
$ go mod graph
go: github.com/vartanbeno/go-reddit/v2@v2.0.1: reading github.com/vartanbeno/go-reddit/go.mod at revision v2.0.1: unknown revision v2.0.1 |
Sorry for lost infomation that I am using Fedora, which mean's The point is there is not tag v2.0.1 in vartanbeno/go-reddit the github repository anymore, I guess it will be a common error when goproxy server flush its caches. |
oh, thanks for pointing that out, fixed on master. |
What happened?
I want to install goreleaser by go install and I did running
go install github.com/goreleaser/goreleaser@latest
as from document, but it is interrupted and return info:It seems vartanbeno/go-reddit revoked v2.0.1 from tags
How can we reproduce this?
go install github.com/goreleaser/goreleaser@latest
goreleaser version
It's not installed yet.
GoReleaser Check
Search
Code of Conduct
Additional context
EDIT: For people who have the same problem recently, since goreleaser fixed but hasn't release the new tag yet, the go install command will still download 0.177.0 and we need a workaround, using the command below instead:
or install the latest fixed commit of goreleaser:
The text was updated successfully, but these errors were encountered: