enosix/Generate 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, minor, patch, or prerelease) | no | — |
| 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 | v |
| filter_by_prefix | If set, only consider existing tags with this prefix when calculating the new version. | no | "" |
| prerelease_version | Version to append for prerelease versions | no | "" |
| detect_bump | If true, detect the type of bump to make based on the commit messages. | no | true |
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. |