adapt example
This commit is contained in:
parent
68dd991efd
commit
6852645875
1 changed files with 3 additions and 3 deletions
|
|
@ -153,15 +153,15 @@ $ curl -s https://api.github.com/repos/borkdude/babashka/tags \
|
|||
"0.0.4"
|
||||
```
|
||||
|
||||
### Download latest linux version of babashka
|
||||
### Download latest OS-specific version of babashka
|
||||
|
||||
``` shellsession
|
||||
$ curl -s https://api.github.com/repos/borkdude/babashka/releases \
|
||||
| jet --from json --keywordize \
|
||||
| bb '(-> *in* first :assets)' \
|
||||
| bb '(keep #(re-find #"^.*linux.*" (:browser_download_url %)) *in*)' \
|
||||
| bb -o '(first *in*)' \
|
||||
| xargs -n1 curl -sL > /tmp/bb
|
||||
| bb '(first *in*)' \
|
||||
| xargs -n1 curl -sL > /tmp/bb-linux.zip
|
||||
```
|
||||
|
||||
## License
|
||||
|
|
|
|||
Loading…
Reference in a new issue