Skip to content
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

"go get" command in README.md fails in module mode #70

Closed
chases2 opened this issue Jun 17, 2019 · 3 comments
Closed

"go get" command in README.md fails in module mode #70

chases2 opened this issue Jun 17, 2019 · 3 comments

Comments

@chases2
Copy link

chases2 commented Jun 17, 2019

Issue:
The "go get" command in README.md doesn't function when go.mod is parsed
go get github.com/bazelbuild/bazelisk
This effect was recreated with three out of four users trying to install bazelisk, so it's somewhat flaky.

Behavior:

$ go get github.com/bazelbuild/bazelisk
go: github.com/bazelbuild/bazelisk@v0.0.7: parsing go.mod: unexpected module path "github.com/philwo/bazelisk"
go: error loading module requirements

Possible Cause:
I believe that the go.mod file is referencing the wrong repository

@philwo
Copy link
Member

philwo commented Jun 17, 2019

Thank you for the report! Yes, I forgot to update the URLs in the go.mod and BUILD after the repository was migrated to the bazelbuild repository. I'll send a fix in a minute.

@philwo philwo closed this as completed in f4ef11a Jun 17, 2019
@philwo
Copy link
Member

philwo commented Jun 19, 2019

@chases2 I've created a new release v0.0.8 with the fix included. Could you let me know if it works for you now?

@chases2
Copy link
Author

chases2 commented Jul 2, 2019

The command works on my machine, downloading the development version (apparently). Thanks!

$ bazelisk version
Bazelisk version: development
Build label: 0.27.0
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants