From f990b819a7535eb3efb39761d5d9d4bd37f545e8 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Sat, 10 Aug 2019 20:52:13 +0200 Subject: [PATCH] simplify --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b3b9b465..0421a387 100644 --- a/README.md +++ b/README.md @@ -153,14 +153,14 @@ $ curl -s https://api.github.com/repos/borkdude/babashka/tags \ "0.0.4" ``` -### Download latest OS-specific version of babashka +### Get latest OS-specific download url from Github ``` shellsession $ curl -s https://api.github.com/repos/borkdude/babashka/releases \ | jet --from json --keywordize \ | bb '(-> *in* first :assets)' \ -| bb '(some #(re-find #"^.*linux.*" (:browser_download_url %)) *in*)' \ -| xargs -n1 curl -sL > /tmp/bb-linux.zip +| bb '(some #(re-find #".*linux.*" (:browser_download_url %)) *in*)' +"https://github.com/borkdude/babashka/releases/download/v0.0.4/babashka-0.0.4-linux-amd64.zip" ``` ## License