ymeadows/Versions
Do math on semantic versions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | Input version | yes | — |
| operation | Operation to perform (increment, decrement, cut, highest) | no | increment |
| prefix | a prefix to expect for the version string (e.g. 'v') | no | — |
| strict | treat the prefix strictly i.e. error if not present | no | false |
| flags | flags to pass to versiontool, like --major or --minor 2 | no | — |
Outputs
| name | description |
|---|---|
| result | the result of the calculation |