lee-lott-actions/Get Next Semantic Version Number
A GitHub Action to calculate the next semantic version number based on conventional commits
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| prerelease | Mark the release as a pre-release (true/false) | yes | — |
| prerelease-identifier | The name to append to the version number on releases that are marked as pre-release. | yes | — |
| owner | The owner of the template and new repository (user or organization) | yes | — |
| repo-name | The name of the repository | yes | — |
| branch | The name of the branch to analyze for commits | yes | — |
| use-leading-zeros | Whether to pad the numeric prerelease identifier with leading zeros (true/false). | no | false |
| number-of-leading-zeros | The total width for the numeric prerelease identifier when leading zeros are enabled. | no | 4 |
| token | GitHub token with repository write access | yes | — |
Outputs
| name | description |
|---|---|
| version-number | The next semantic version |
| version-tag | The next version tag |
| release-type | Bump type (major, minor, patch, none) |
| result | Result of getting the next version number ("success" or "failure") |
| error-message | Error message if there is a failure to get the next version number |