Skip to content

CLI command pmtiles version blank when installed using homebrew #203

@mizmay

Description

@mizmay

When I run pmtiles version to see what build of the CLI I am running I always get pmtiles 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:

  1. Download current / latest release for my m1 2020 Macbook Air go-pmtiles-1.23.1_Darwin_arm64.zip

  2. Open to install

Last login: Fri Jan 10 12:25:24 on ttys009
/Users/mizmay/Downloads/pmtiles ; exit;
mizmay@Stephanies-Personal ~ % /Users/mizmay/Downloads/pmtiles ; exit;
Usage: pmtiles <command>

Flags:
  -h, --help    Show context-sensitive help.

Commands:
  convert <input> <output>
    Convert an MBTiles or older spec version to PMTiles.

  show <path>
    Inspect a local or remote archive.

  tile <path> <z> <x> <y>
    Fetch one tile from a local or remote archive and output on stdout.

  extract <input> <output>
    Create an archive from a larger archive for a subset of zoom levels or
    geographic region.

  verify <input>
    Verify the correctness of an archive structure, without verifying individual
    tile contents.

  serve <path>
    Run an HTTP proxy server for Z/X/Y tiles.

  upload --bucket=STRING <input-pmtiles> <remote-pmtiles>
    Upload a local archive to remote storage.

  version
    Show the program version.

Run "pmtiles <command> --help" for more information on a command.

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]
  1. Check version
mizmay@Stephanies-Personal ~ % pmtiles version --help
Usage: pmtiles version

Show the program version.

Flags:
  -h, --help    Show context-sensitive help.
mizmay@Stephanies-Personal ~ % pmtiles version       
pmtiles dev, commit none, built at unknown

Other things I tried

I tried brew install pmtiles and got the same result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions