kubecfg
kubecfg copied to clipboard
"go get" build doesn't work under new path
With a fresh $HOME/go directory:
$ go get github.com/kubecfg/kubecfg
go get: github.com/kubecfg/[email protected] updating to
github.com/kubecfg/[email protected]: parsing go.mod:
module declares its path as: github.com/bitnami/kubecfg
but was required as: github.com/kubecfg/kubecfg
go version
?
$ go version
go version go1.16.10 linux/amd64
(Fedora 35, in a fresh toolbox with just golang installed)
In which directory are you running the go get command?
I tried it in my homedir, in an empty directory, and in a checkout of this repo. All had the same result.
Does go install github.com/kubecfg/kubecfg@latest
work?
Ah probably we need to cut another release after the rename
Anyway if all you want is to just build the binary while we fix this you can just do either make
or go build
(while in the checked out sources; please don't check them out in the GOPATH but somewhere else so it uses go.mod)
If you want to install the latest release with go get, then please use the old name (go get github.com/bitnami/kubecfg).
Sorry for the mess