Skip to content

no version number "go install" procedure #3545

Open
@FedericoMuciaccia

Description

@FedericoMuciaccia

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

# 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions