Skip to content

Version without leading v fails check #252

@DanielMSchmidt

Description

@DanielMSchmidt

I have a check for kind 0.6.1 which has the kind --version output of kind version 0.6.1. It fails with ✖ No version was detected from the output of the binary 'kind'

When kind was in version 0.5.1 the output was kind version v0.5.1, which was parsed successfully.

My rule definition is

{
  "$schema": "http://json.schemastore.org/solidaritySchema",
  "requirements": {
    "Node": [
      {
        "rule": "cli",
        "binary": "node",
        "semver": ">= 12.9.1"
      }
    ],
    "kind": [
      {
        "rule": "cli",
        "binary": "kind",
        "semver": "0.6.1"
      }
    ],
  }
}

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