nowsprinting/Check Version Format in Tag
Check and extract version format from tag.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| prefix | Version prefix in tag. `refs/tags/` is unnecessary. | no | "" |
Outputs
| name | description |
|---|---|
| is_valid | `true` if found valid version format in tag. |
| is_stable | `true` if found stable version in tag. (not have pre-release metadata and major > 0) |
| full | Set full version as a string (include prefix). |
| full_without_prefix | Set full version as a string (exclude prefix). |
| major | Set major version as a string (include prefix). |
| major_without_prefix | Set major version as a string (exclude prefix). |
| minor | Set minor version as a string. |
| patch | Set patch version as a string. |
| prerelease | Set pre-release version as a string. |
| major_prerelease | Set major version with pre-release as a string (include prefix). |
| major_prerelease_without_prefix | Set major version with pre-release as a string (exclude prefix). |