wemogy/Get release version
A GitHub Action to determine the next version by checking the commit history for Conventional Commits
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| prefix | The prefix that should be prepended to the version. | no | v |
| suffix | The suffix that should appended to the version. Use `NONE` for no suffix. | no | NONE |
| reference-version-suffix | The suffix that should be replaced with the value in `suffix`. Use `NONE` for no suffix. | no | NONE |
| bumping-suffix | The suffix to append to the version (or increment if it already exists) if `only-bump-suffix` is `true`. | no | hotfix |
| only-bump-suffix | Bump the `bumping-suffix` instead of the version if changes were detected. | no | false |
| create-tag | Create a Git Tag for the version and push it if a remote is configured. | no | true |
| git-username | The username for creating the (annotated) git tag. Use `NONE` for no username. | no | NONE |
| git-email | The email address for creating the (annotated) git tag. Use `NONE` for no email address. | no | NONE |
| mode | The mode to use for determining the next version. Possible values: `semantic`, `hash-based`. | no | semantic |
Outputs
| name | description |
|---|---|
| version | The next version, without the prefix |
| version-name | The next version, with the prefix |
| previous-version | The previous version, without the prefix |
| previous-version-name | The previous version, with the prefix |
| tag-created | If any relevant changes got detected and a tag got created. |