release-kit/Semver Parse
Parses a semantic version from a given string or git tag
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| source | A source to take string from | no | — |
| string | A string to extract semver from | no | — |
| fallback | A string to use as a tag when it is not found | no | — |
| pattern | Regex to extract semantic version from a input string | no | — |
Outputs
| name | description |
|---|---|
| full | A full representation of the semver |
| major | MAJOR part of the semver |
| minor | MINOR part of the semver |
| patch | PATCH part of the semver |
| prerelease | PRERELEASE part of the semver |
| build | BUILD part of the semver |