mirror of
https://github.com/mempool/mempool.git
synced 2025-01-18 05:12:35 +01:00
Update README to get latest release tag using portable parser
This commit is contained in:
parent
ed3811bf2c
commit
56b551ea8e
@ -35,7 +35,7 @@ You should see mempool starting up, which takes over an hour (needs 8 blocks). W
|
|||||||
```bash
|
```bash
|
||||||
git clone https://github.com/mempool/mempool
|
git clone https://github.com/mempool/mempool
|
||||||
cd mempool
|
cd mempool
|
||||||
latestrelease=$(curl -s https://api.github.com/repos/mempool/mempool/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")')
|
latestrelease=$(curl -s https://api.github.com/repos/mempool/mempool/releases/latest|grep tag_name|head -1|cut -d '"' -f4)
|
||||||
git checkout $latestrelease
|
git checkout $latestrelease
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user