conventional-actions/next-version
Next version using conventional commits
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | filter commits to the path provided | no | — |
| prefix | prefix to prepend to versions | no | v |
| tag-prefix | specify a prefix for the git tag to be ignored from the semver checks | no | v |
| skip-unstable | if true, unstable tags (e.g. x.x.x-alpha.1, x.x.x-rc.2) will be skipped | no | false |
Outputs
| name | description |
|---|---|
| release-type | type of release (none, major, minor, patch, prerelease) |
| current-version | the current version (v1.2.2rc2) |
| current-version-major | the major version (v1) |
| current-version-minor | the major and minor version (v1.2) |
| current-version-patch | the major, minor and patch version (v1.2.2) |
| current-version-major-only | the major version component (1) |
| current-version-minor-only | the minor version component (2) |
| current-version-patch-only | the patch version component (2) |
| current-version-prerelease-only | the prerelease version only (rc2) |
| version | the new version (v1.2.3) |
| version-major | the major version (v1) |
| version-minor | the major and minor version (v1.2) |
| version-patch | the major, minor and patch version (v1.2.3) |
| version-major-only | the major version component (1) |
| version-minor-only | the minor version component (2) |
| version-patch-only | the patch version component (3) |
| version-prerelease-only | the prerelease version only (rc2) |
| bumped | true if the version has been bumped |