space icon indicating copy to clipboard operation
space copied to clipboard

[Bug]: The version number displayed is incorrect when installed via Homebrew

Open StudentWeis opened this issue 5 months ago • 4 comments

What happened?

Image

&

Image

Version

1.1.1

Which operating system(s) did you observe the bug on?

MacOS

Operating system details

macOS 15.5

Relevant log output


Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

StudentWeis avatar Aug 11 '25 12:08 StudentWeis

Moreover, welcome back! @emilevr

StudentWeis avatar Aug 11 '25 12:08 StudentWeis

Hey. Was this a local build? Local builds will display v0.0.0 as the versioning is done only as part of the build workflow.

However, thanks for submitting this as it made me notice that the macos-latest runner now builds ARM64 binaries, no longer x86_64 so the MacOS binaries in 1.1.1 were mislabeled - I've removed them.

The build workflow now builds both an x86_64 and an ARM64 binary for MacOS and the bash install command documented in the README will now install the appropriate one.

I've tested on v1.1.3 on Windows (via scoop) and on Linux and MacOS x86_64 (via the bash install command) and they all displayed 1.1.3 correctly.

Please confirm that this was for a local build.

PS. Thanks. Yep, life has been busy.

emilevr avatar Aug 12 '25 20:08 emilevr

Thanks for your great work!

I installed the Space via Homebrew on my ARM64-based macOS, and noticed it was built from source ↓

Image

--force-bottle passed but emilevr/space/space has no bottle!

Installation via bash works fine

StudentWeis avatar Aug 13 '25 02:08 StudentWeis

Ah ok, that explains it. The Homebrew build is not doing anything w.r.t. versioning, hence the 0.0.0 version. I'll change the title of this bug report to indicate that it is related to the Homebrew build - which does need a bit of attention.

emilevr avatar Aug 13 '25 05:08 emilevr