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

Linux 64 bit file rename breaks script installation #1941

Open
murech opened this issue Jan 30, 2023 · 0 comments
Open

Linux 64 bit file rename breaks script installation #1941

murech opened this issue Jan 30, 2023 · 0 comments

Comments

@murech
Copy link

murech commented Jan 30, 2023




Describe the bug
With the release of version 0.27.0, it has been decided to rename the release artifacts:
#1910 Replace x86_64 to amd64 build

Scripts that are downloading latest release from github directly using dynamic file name are failing because of this. For example: k9s_$(uname -s)_$(uname -m).tar.gz.

To Reproduce

K9S_VERSION=$(curl -L https://api.github.com/repos/derailed/k9s/releases/latest | jq .name -r) \
 && curl -L https://github.com/derailed/k9s/releases/download/${K9S_VERSION}/k9s_$(uname -s)_$(uname -m).tar.gz -o k9s.tar.gz

Additional context
Changing file name to k9s_$(uname -s)_amd64.tar.gz resolves it. I created this bug report if someone stumbles about the same issue.

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

No branches or pull requests

2 participants