adapt example

This commit is contained in:
Michiel Borkent 2019-08-10 20:42:37 +02:00
parent 68dd991efd
commit 6852645875

View file

@ -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