mirror of
https://github.com/mempool/mempool.git
synced 2025-01-18 05:12:35 +01:00
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.
This commit is contained in:
parent
55646b5732
commit
ed3811bf2c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user