kube-score icon indicating copy to clipboard operation
kube-score copied to clipboard

Rename kube-score packages to fetch latest version dynamically

Open ixxeL2097 opened this issue 3 years ago • 0 comments

Currently the kube-score packages name include the version number : kube-score_1.13.0_linux_amd64.tar.gz

The problem is that including the version number is the package's name, deny the user from downloading the latest version without knowing the actual latest version number.

Impossible to download with this kind of syntax :

curl -sL "https://github.com/zegl/kube-score/releases/latest/download/<kube-score-package-name>.tar.gz"

Instead, we must use this syntax :

curl -sL "https://github.com/zegl/kube-score/releases/download/v1.13.0/kube-score_1.13.0_linux_amd64.tar.gz"

The current syntax is not convenient for automation tools downloading automatically the last version (needs to GREP the latest version). My proposal is to rename the package with a generic name like kube-score_linux_amd64.tar.gz instead of kube-score_<version-number>_linux_amd64.tar.gz as it is practiced on other Github repositories, to be able to fetch the latest version without having to know the latest version number.

That would really improve automation processes using this tool.

ixxeL2097 avatar Dec 15 '21 12:12 ixxeL2097