stackrox / kube-linter

KubeLinter is a static analysis tool that checks Kubernetes YAML files and Helm charts to ensure the applications represented in them adhere to best practices.
https://docs.kubelinter.io/
Apache License 2.0
2.89k stars 231 forks source link

[BUG] Release assets name #687

Open gbloquel opened 7 months ago

gbloquel commented 7 months ago

Hi,

System info:

Describe the bug

I notice that since the release 0.6.1, you have updated the url of release filename.

Before, it was ...download/0.6.0/kube-linter-linux.tar.gz for Linux Since the version (0.6.1) for it is ...download/v0.6.1/kube-linter-linux.tar.gz for Linux. You have append the letter 'v' before the version.

This update has the effect, for example, that tools like asdf with the kube-linter plugin no longer works since the version 0.6.1. See the issue

To Reproduce Steps to reproduce the behavior:

asdf install kube-linter latest 
* Downloading kube-linter release 0.6.5...
curl: (22) The requested URL returned error: 404
asdf-kube-linter: Could not download https://github.com/stackrox/kube-linter/releases/download/0.6.5/kube-linter-linux.tar.gz

Sample YAML input N/A

Expected behavior Could you for the next release uses the older format url without the letter 'v'?

Screenshots N/A

Additional context

Regards,

janisz commented 7 months ago

Thanks for reporting! Some time ago we switched to v prefixed tags to be compatible with Go versioning. I prefer to not double tag commits and stick to v prefix.

See: