Skip to content

Commit 056cc14

Browse files
Merge pull request #2199 from TomBaxter/master
2 parents b27a2ce + c686c7f commit 056cc14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ sudo eopkg install lazygit
150150
### Ubuntu
151151

152152
```sh
153-
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[0-35.]+')
153+
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep '"tag_name":' | sed -E 's/.*"v*([^"]+)".*/\1/')
154154
```
155155

156156
```sh

0 commit comments

Comments
 (0)