2.0.1 • Published 9 years ago
hg-auto-semver v2.0.1
hg-auto-semver
Automatically bump versions according to parent branch name.
How it works
hg-auto-semver checks for the parent branch name after a merge. If the branch contains fix-, it'll bump a PATCH version. If the branch contains feature-, it'll bump the MINOR version
Usage
npm install 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!