jesseduffield / jesseduffield/lazygit

no version number "go install" procedure

Open
#3,545 16 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**Describe the bug**
latest LazyGit version is v0.41.0 but this number doesn't show with `lazygit --version` if the (latest) package is installed by `go install`.
this also wrongly triggers the internal update manager.

**To Reproduce**

```bash
# install lazygit via "go install"
go install github.com/jesseduffield/lazygit@latest
# check the installed version
lazygit --version
```
the output is:
`commit=, build date=, build source=unknown, version=unversioned, os=linux, arch=amd64, git version=2.34.1`
which has no information about the version number

**Expected behavior**
`version=0.41.0` in the output of the above commands

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.