actions-marketplace-validations/Create new Semantic Version
Determine the next semantic version and optionally tag it.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| bump | The type of semantic version increment to make (one of major, premajor, minor, preminor, patch, prepatch, or prerelease) | yes | — |
| per_branch | If specified, only tags merged to the same branch will be considered. Useful for maintenance branches. Note: this requires fetching the history when checking out. | no | false |
| github_token | Token to use to push to the repo. Pass in using `secrets.GITHUB_TOKEN`. | yes | — |
| dry_run | If true, only calculate the new version and exit successfully. | no | false |
| sha | Commit SHA to use to create tag. Pass in if you modify the current HEAD. | no | — |
| prefix | Version prefix used to create tag. Usually empty or "v" or "=". | no | "" |
| preid | Identifier to be used to prefix premajor, preminor, prepatch or prerelease version increments. | no | "" |
Outputs
| name | description |
|---|---|
| version | The new semantic version that was calculated. |
| version_optimistic | The major and minor components of the semantic version that was calculated. |
| version_tag | The version string used to create the tag. |