Skip to content

datumctl version fails to parse unexpanded git placeholder in server version #21

Description

@JoseSzycho

Description

Running datumctl version returns a pre-release/metadata parsing error because the server version string contains an unexpanded Git export placeholder ($Format:%H$).

Environment / Details

  • Client Version: v0.18.0
  • Kustomize Version: v5.7.1
  • Server Version: v0.0.0-master+$Format:%H$

Steps to Reproduce

  1. Run datumctl version in the terminal.

Expected Behavior

datumctl outputs the correct server version without throwing a metadata parsing error.

Actual Output

~ datumctl version
Client Version: v0.18.0
Kustomize Version: v5.7.1
Server Version: v0.0.0-master+$Format:%H$
error: server version error: could not parse pre-release/metadata (-master+$Format:%H$) in version "v0.0.0-master+$Format:%H$"

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

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions