Calculate a semantic version bump for the given changes.
Requires all PRs to have labels for the change type.
If a PR does not have a label associated with it, it will default to
patch or whatever you configure the default label to.
NOTE: This does not change the version of your project or anything in your repo. It just returns
|Boolean||Only bump version if 'release' label is on pull request|
|String||Git revision (tag, commit sha, ...) to calculate version bump from. Defaults to latest github release|
Get the new version using the last release to head
Useful in conjunction with
npm version to auto-version releases.
You can customize the versioning labels in the
.autorc. To see configuration go here.