Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename kube-score packages to fetch latest version dynamically #421

Open
ixxeL2097 opened this issue Dec 15, 2021 · 0 comments
Open

Rename kube-score packages to fetch latest version dynamically #421

ixxeL2097 opened this issue Dec 15, 2021 · 0 comments

Comments

@ixxeL2097
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant