mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-20 05:19:24 +02:00
Replace regex for retrieving latest version
This commit is contained in:
parent
b27a2ce39a
commit
c686c7f9ed
@ -150,7 +150,7 @@ sudo eopkg install lazygit
|
||||
### Ubuntu
|
||||
|
||||
```sh
|
||||
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[0-35.]+')
|
||||
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep '"tag_name":' | sed -E 's/.*"v*([^"]+)".*/\1/')
|
||||
```
|
||||
|
||||
```sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user