mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-11 16:16:28 -04: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…
Reference in a new issue