Skip to content

Automatically bump versions according to hg parent branch name.

License

Notifications You must be signed in to change notification settings

wfortin/hg-auto-semver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 --save

To your package.json add

"scripts": {
  "hg-auto-semver": "hg-auto-semver"
}

In your CI, run

npm run hg-auto-semver

Enjoy auto version bumping!

About

Automatically bump versions according to hg parent branch name.

Resources

License

Stars

Watchers

Forks

Packages

No packages published