An easy way to download github releases depending on arch
This commit is contained in:
parent
415e8fa05d
commit
88313f3f7f
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
DOWNLOAD_URL=$(curl -s https://api.github.com/repos/cloudflare/cloudflared/releases/latest \
|
||||
| grep browser_download_url \
|
||||
| grep $1 \
|
||||
| cut -d '"' -f 4)
|
Loading…
Reference in New Issue