Skip to content

semver < doesn't seem to work correctly #287

@jhheider

Description

@jhheider

trying to exclude a test for a specific version of jenkins.io; this should work:

    - run: jenkins-lts --version | grep {{version}}
      if: '<2.426.3 || >2.426.3'

but doesn't. indeed, even this doesn't work:

    - run: jenkins-lts --version | grep {{version}}
      if: '<2.426.3 || >2.426.4'

but this does:

    - run: jenkins-lts --version | grep {{version}}
      if: '<2.426.3 || >=2.426.4'

so, there's something up with the handling of the > operator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions