g33kio/G33KIO Npm Version Bump
Bumps the npm package version based on commit message and current version from package repository.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| tag-version | Determines if this last commit should be tagged with the npm version. | no | false |
| tag-prefix | Version tag prefix, only used for git tagging and will not be added to package.json version. | no | v |
| major-keywords | Keywords in the commit message that will bump the major version. | no | major,+++ |
| minor-keywords | Keywords in the commit message that will bump the minor version. | no | minor,++ |
| patch-keywords | Keywords in the commit message that will bump the patch version. | no | patch,+ |
| bump-first-only | If this is true, then only major, minor, or patch will be updated based on which ever keyword is found first. | no | false |
| reset-lower | If this is true, then the lower version will be set to 0 when bump happens. Major will set minor and patch to 0, and Minor will reset patch to 0. | no | false |
| pre-release | Sets the version to bump the pre-release tag version. This will bump the major, minor, or patch and add this value to the end of the version. | no | "" |
| working-dir | Sets the working directory if build needs to be done in a sub folder. | no | "" |
| npm-dist-tag | If true, pre release tags will be set to @next and non pre release tags will be set to @latest | no | false |
Outputs
| name | description |
|---|---|
| newVersion | The new version of the npm package. |
| versionTag | The new git version tag. Will be empty if tag-version is false. |