-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I have the gh application installed through Go and in my go bin folder. This has worked just fine, but now that v2.0.0 has released, the go get command no longer works (presumably because the go.mod file doesn't have /v2 appended to the package name).
Steps to reproduce the behavior
-
go get -u github.com/cli/cli/v2
-
go get: module github.com/cli/cli@upgrade found (v1.14.0), but does not contain package github.com/cli/cli/v2
-
go get -u github.com/cli/cli@v2.0.0
-
go get: github.com/cli/cli@v2.0.0: invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2
Expected vs actual behavior
go get should install v2 of the application correctly in the Go root and go bin folder.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working