Skip to content

semver < doesn't seem to work correctly #287

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.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions