actions-marketplace-validations/Get Semver
Get current/next major, minor, and patch version based on the given semver version.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| bump_level | Version bump level [major, minor, patch]. | no | patch |
| verbose | Print current and next version. | no | false |
| frail | Return exit code of 1 when no version tag is found. | no | true |
Outputs
| name | description |
|---|---|
| current_version | The current version. |
| next_version | The next major version. |
| error | Wether an error was encountered. |