coveo-hg-auto-semver

3.3.7 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.3.71latest

Version History

VersionDownloads (Last 7 Days)Published
3.3.71
3.3.60
3.3.50
3.3.40
3.3.30
3.3.20
3.3.10
3.2.30
3.2.20
3.2.10
3.2.00
3.1.00
3.0.02
1.1.00
1.0.00

Package Sidebar

Install

npm i coveo-hg-auto-semver

Weekly Downloads

3

Version

3.3.7

License

MIT

Unpacked Size

8.18 kB

Total Files

5

Last publish

Collaborators

  • germainbergeron
  • sroy3