smartlyio/Check Version
Check the version type and enforce the value if that option is specified.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | GitHub token | yes | — |
| enforce | If this is set to true, the action will fail if a version type is not specifed. | no | true |
Outputs
| name | description |
|---|---|
| VERSION_UPPER | Version type in uppercase |
| VERSION_LOWER | Version type in lowercase |
| CONTINUE_RELEASE | Set to true if the version is one of: major, minor, patch |