From ed3811bf2c1442d8e4ba21a388ced220eda11f18 Mon Sep 17 00:00:00 2001 From: Lucas Moten <14304023+lucasmoten@users.noreply.github.com> Date: Mon, 12 Oct 2020 22:51:39 +0000 Subject: [PATCH] Update README with repository checkout guidance - Changed repository to clone based on updated organization - Determine latest release from github api call. An alternative form being `latestrelease=$(git describe --exact-match --abbrev=0)` to yield the most recent tag name. --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 33abf0ee5..83d2c6555 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,10 @@ You should see mempool starting up, which takes over an hour (needs 8 blocks). W ## Checking out release tag ```bash - git clone https://github.com/mempool-space/mempool.space - cd mempool.space - git checkout v1.0.0 # put latest release tag here + git clone https://github.com/mempool/mempool + cd mempool + latestrelease=$(curl -s https://api.github.com/repos/mempool/mempool/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")') + git checkout $latestrelease ``` ## Bitcoin Core (bitcoind)