simplify
This commit is contained in:
parent
2b36d312db
commit
f990b819a7
1 changed files with 3 additions and 3 deletions
|
|
@ -153,14 +153,14 @@ $ curl -s https://api.github.com/repos/borkdude/babashka/tags \
|
||||||
"0.0.4"
|
"0.0.4"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Download latest OS-specific version of babashka
|
### Get latest OS-specific download url from Github
|
||||||
|
|
||||||
``` 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 '(some #(re-find #"^.*linux.*" (:browser_download_url %)) *in*)' \
|
| bb '(some #(re-find #".*linux.*" (:browser_download_url %)) *in*)'
|
||||||
| xargs -n1 curl -sL > /tmp/bb-linux.zip
|
"https://github.com/borkdude/babashka/releases/download/v0.0.4/babashka-0.0.4-linux-amd64.zip"
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue