kubernetes-sigs/bom

error during command execution:unknown command "0.11.2" for "ko"

developer-guy opened this issue · 0 comments

What would you like to be added:

EnsureKo method throws the following error when you type $ go run mage.go BuildImagesLocal:

Building image with ko for local test...
Checking if `ko` version 0.11.2 is installed
Error: unknown command "0.11.2" for "ko"
Run 'ko --help' for usage.
2022/07/29 21:42:27 error during command execution:unknown command "0.11.2" for "ko"
Error: could not determine the installed version of /Users/batuhan.apaydin/go/bin/ko with '/Users/batuhan.apaydin/go/bin/ko 0.11.2': running "/Users/batuhan.apaydin/go/bin/ko 0.11.2" failed with exit code 1
exit status 1

Why is this needed: