archergu/Compare Semver
Compare two semantic versions with specified operator
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| v1 | First version to compare | yes | — |
| v2 | Second version to compare | yes | — |
| operator | Comparison operator (>, <, =, >=, <=, !=) | yes | — |
| not_throw | If true, return false instead of throwing error when versions are invalid | no | false |
Outputs
| name | description |
|---|---|
| result | Result of the comparison (true/false) |