Closed kylos101 closed 4 years ago
Oh dear, thank you for logging this. I'll take a look, do I need WSL to repro it (I see the word "Microsoft" in there)? Cc @nunix
Can't reproduce this yet, I've tried it on MacOS:
kosmos:arkade alex$ go build && ./arkade get faas-cli
Downloading faas-cli
https://github.com/openfaas/faas-cli/releases/download/0.12.8/faas-cli-darwin
Tool written to: /var/folders/kk/7ds650y150j3b5q_t_k3q8gc0000gn/T/faas-cli-darwin
Run the following to copy to install the tool:
chmod +x /var/folders/kk/7ds650y150j3b5q_t_k3q8gc0000gn/T/faas-cli-darwin
sudo install -m 755 /var/folders/kk/7ds650y150j3b5q_t_k3q8gc0000gn/T/faas-cli-darwin /usr/local/bin/faas-cli
kosmos:arkade alex$ chmod +x /var/folders/kk/7ds650y150j3b5q_t_k3q8gc0000gn/T/faas-cli-darwin
kosmos:arkade alex$
kosmos:arkade alex$ /var/folders/kk/7ds650y150j3b5q_t_k3q8gc0000gn/T/faas-cli-darwin version
___ _____ ____
/ _ \ _ __ ___ _ __ | ___|_ _ __ _/ ___|
| | | | '_ \ / _ \ '_ \| |_ / _` |/ _` \___ \
| |_| | |_) | __/ | | | _| (_| | (_| |___) |
\___/| .__/ \___|_| |_|_| \__,_|\__,_|____/
|_|
CLI:
commit: 16f6eb9522cff9622b78cbe6450d60f8b3cd7ead
version: 0.12.8
Fails on standard Ubuntu x86 Linux:
alex@nuc7:~$ ./arkade-linux get faas-cli
Downloading faas-cli
https://github.com/openfaas/faas-cli/releases/download/0.12.8/
Error: incorrect status for downloading tool: 404
alex@nuc7:~$
Hi,
I do confirm it fails and the reason is that it fails to get the binary at the end (@alexellis in your output it's the same)
While in your output of MacOS you have faas-cli-darwin
at the end.
So "not" a WSL issue (my guess).
/assign: me
I can fix this
Fixed and released: https://github.com/alexellis/arkade/releases/tag/0.6.1
Thanks @Waterdrips
working on WSL
great and fast work 👍
Thank you Corsair
Thanks a lot, gang!
When I try to get faas-cli, I get a 404 error.
Expected Behaviour
A 200 response, with faas-cli having been successfully gotten.
Current Behaviour
Steps to Reproduce (for bugs)
Context
I have to get faas-cli "the old way". ;)
Your Environment