raviqqe/muffet

Muffet 2.3.0 reports `--version` as "1.3.3"

Calinou opened this issue · 4 comments

I just installed the latest Muffet version on Linux 64-bit and it reports itself as being a much older version:

❯ muffet --version
1.3.3

❯ which muffet
~/.local/bin/muffet

❯ ls -l ~/.local/bin/muffet
Permissions Size User Date Modified Name
.rwxr-xr-x  6.5M hugo 11 Nov 21:56  /home/hugo/.local/bin/muffet

❯ file ~/.local/bin/muffet
/home/hugo/.local/bin/muffet: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=M4uk9yE2jPJHtuxdHt3v/YwCCT2bgTx9I9Iv23QeD/E014ZLp-JK6-omeqWN9h/KHroFZtOh0-28jgC7eo4, stripped

Can you try with the latest Go? You probably didn't enable Go modules.

Can you try with the latest Go? You probably didn't enable Go modules.

I downloaded the binary from the Releases tab 🙂

Sorry, I forgot to mention that in OP.

Hmmm. It works for me somehow. Can you describe the steps to reproduce the bug?

raviqqe@argon ~
> curl -fsSL https://github.com/raviqqe/muffet/releases/download/v2.3.0/muffet_2.3.0_Linux_x86_64.tar.gz > foo.tgz

raviqqe@argon ~
> tar xf foo.tgz    

raviqqe@argon ~
> ./muffet --version
2.3.0

@raviqqe Indeed, it works when I follow those precise steps. Even the binary in my PATH is now reporting the verison as 2.3.0. I don't know what went wrong…