robscott / kube-capacity

A simple CLI that provides an overview of the resource requests, limits, and utilization in a Kubernetes cluster
Apache License 2.0
2.06k stars 113 forks source link

kube-capacity version for v0.8.0 reports itself as version v0.7.4 #132

Open jim-barber-he opened 4 months ago

jim-barber-he commented 4 months ago

Minor issue where the tool isn't reporting the version it is at correctly.

$ cd /tmp
$ ./kube-capacity version                    
zsh: no such file or directory: ./kube-capacity
$ curl -qfLSsO https://github.com/robscott/kube-capacity/releases/download/v0.8.0/kube-capacity_v0.8.0_linux_x86_64.tar.gz
$ tar xf kube-capacity_v0.8.0_linux_x86_64.tar.gz kube-capacity
$ ./kube-capacity version
kube-capacity version v0.7.4

I'm only reporting it because I have a script that checks the current version of tools and then compares with the releases on GitHub and will grab the new one. It thinks it needs to grab kube-capacity every time I run it since v0.7.4 is older than v0.8.0.