coveo-hg-auto-semver
v3.3.7
Published
Automatically bump versions according to hg parent branch name.
Downloads
26
Readme
hg-auto-semver
Automatically bump versions according to parents branch name. Currently supports npm and maven.
How it works
hg-auto-semver checks for the merged branches between the current revision and the latest tag.
- If a branch contains
breaking-feature-it'll bump the MAJOR version. - Otherwise, if a branch contains
feature-, it'll bump the MINOR version. - Otherwise it will bump a PATCH version.
Note: If no tag exists on the current branch it will use the latest merged branch to bump the version
Usage
npm install coveo-hg-auto-semver --saveTo your package.json add
"scripts": {
"hg-auto-semver": "hg-auto-semver"
}In your CI, run
npm run hg-auto-semverEnjoy auto version bumping!
