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"
|
"0.0.4"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Download latest linux version of babashka
|
### Download latest OS-specific version of babashka
|
||||||
|
|
||||||
``` shellsession
|
``` shellsession
|
||||||
$ curl -s https://api.github.com/repos/borkdude/babashka/releases \
|
$ curl -s https://api.github.com/repos/borkdude/babashka/releases \
|
||||||
| jet --from json --keywordize \
|
| jet --from json --keywordize \
|
||||||
| bb '(-> *in* first :assets)' \
|
| bb '(-> *in* first :assets)' \
|
||||||
| bb '(keep #(re-find #"^.*linux.*" (:browser_download_url %)) *in*)' \
|
| bb '(keep #(re-find #"^.*linux.*" (:browser_download_url %)) *in*)' \
|
||||||
| bb -o '(first *in*)' \
|
| bb '(first *in*)' \
|
||||||
| xargs -n1 curl -sL > /tmp/bb
|
| xargs -n1 curl -sL > /tmp/bb-linux.zip
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue