Skip to content

Installer reports the existing version as "unknown" during upgrades #157

Description

@NickF93

When rerunning the installer with an existing installation, the current version is reported as unknown:

==> Existing installation found: unknown
==> Upgrading to: v0.1.40

I can reproduce this consistently with claude-code-proxy 0.1.40 on Linux amd64.

The binary prints its version without a leading v:

$ claude-code-proxy --version
claude-code-proxy 0.1.40

However, the installer only matches versions that begin with v:

grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+'

Removing the required prefix should make detection agree with the CLI output:

grep -oE '[0-9]+\.[0-9]+\.[0-9]+'

The installation itself still completes successfully, so this appears to be a display-only issue. I’d be happy to submit a small PR for it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions