instrumenta / kubeval

Validate your Kubernetes configuration files, supports multiple Kubernetes versions
https://kubeval.com
Other
3.16k stars 229 forks source link

`kubeval --version` gives empty version #125

Closed tholok97 closed 5 years ago

tholok97 commented 5 years ago

After following the installation instructions (using curl instead of wget) and running kubeval --version I get no value for the actual version.

Environment

Attempted in CentOS and Ubuntu 18.10

Steps to reproduce

curl -sSL -O https://github.com/instrumenta/kubeval/releases/download/0.9.2/kubeval-linux-amd64.tar.gz
tar xf kubeval-linux-amd64.tar.gz
mv kubeval /usr/local/bin
kubeval --version

Gives output:

Version:      
Git commit:   
Built:        
Go version:   go1.12.2
OS/Arch:      linux/amd64
garethr commented 5 years ago

Thanks for flagging, I managed to break in moving over to goreleaser. Will get fixed up.

garethr commented 5 years ago

Should be fixed in https://github.com/instrumenta/kubeval/commit/a048e1a23fed0ed13c90011ebf01691fe0c4aefa which will be in the next release.