nadiamoe/Validate tag and obtain semver from it
Validates the tag of a release follows the semver standard (with v prefix) and dumps the unprefixed version as the value of env var SEMVER. If release is a prerelease, it appends `-pre` to said env var.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| tag | Tag to use. Defaults to the current tag being released | no | ${{ github.event.release.tag_name }} |
| presuffix | Suffix to append to version if release is a prerelease. Dash is added automatically. | no | pre |
Outputs
no outputs