langsdorf/Automatic Semantic Versioning
Github Action to automatically bump the version of your project based on the commit messages and tags.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| commit | The commit message to use for the version bump. | no | "" |
| version | The version to use. | no | "" |
| initial-version | The initial version to use. | no | 1.0.0 |
| error-on-invalid-commit | Whether to throw an error if the commit message is invalid. | no | false |
| version-label-fallback | The version label to use if the commit message is invalid. | no | — |
| tag-pattern | The pattern to match the tags in the repository. | no | (v)?(\d+\.\d+\.\d+) |
| tag-prefix | The prefix to add to the new version. | no | "" |
| create-tag | Whether to create a new tag in the repository. | no | false |
Outputs
| name | description |
|---|---|
| version | The generated version. |
| tag | The generated tag with prefix. |