-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI command pmtiles version
blank when installed using homebrew
#203
Comments
pmtiles version
doesn't workpmtiles version
doesn't work
This is what the output of pmtiles 1.23.1 looks like for me:
Can you type The Homebrew install is probably building the project from source (I don't maintain it) and does not include the release information. The releases for Mac are signed with my paid developer key so it doesn't require bypassing the security warning on MacOS. |
You are right it was the Homebrew version plus some weirdness with the path. When I uninstalled that plus moved the executable from /usr/local/bin to /opt/local/bin,
Feel free to close (or leave open). Thanks! |
This line in the Homebrew formula: https://github.com/Homebrew/homebrew-core/blob/be72125f81db1b4daab71bb824ddf28c8c91811c/Formula/p/pmtiles.rb#L25 needs to pass this additional ldflag to populate the version information:
|
pmtiles version
doesn't workpmtiles version
doesn't work when installed using home-brew
pmtiles version
doesn't work when installed using home-brewpmtiles version
blank when installed using homebrew
When I run
pmtiles version
to see what build of the CLI I am running I always getpmtiles dev, commit none, built at unknown
.It's an issue only because I'm using the CLI infrequently so am always inclined to check whether I have a recent enough version when I go to try something.
Steps to reproduce:
Download current / latest release for my m1 2020 Macbook Air go-pmtiles-1.23.1_Darwin_arm64.zip
Open to install
Other things I tried
I tried
brew install pmtiles
and got the same result.The text was updated successfully, but these errors were encountered: