Error When Installing With Published Command
jspeed-meyers opened this issue · comments
What happened:
Error when installing using the README installation instructions:
$ go install sigs.k8s.io/bom/cmd/bom
go: 'go install' requires a version when current directory is not in a module
Try 'go install sigs.k8s.io/bom/cmd/bom@latest' to install the latest version
What you expected to happen:
A successful installation when using go install
How to reproduce it (as minimally and precisely as possible):
$ go install sigs.k8s.io/bom/cmd/bom
Anything else we need to know?:
Adding @latest onto the end of the command solves this problem. A simple PR could likely solve this. I'm glad to submit such a PR.
Environment:
- OS: M1 Mac w/ macOS 13.0.1
- Go: 1.19.2