0.1.0 • Published 5 years ago

gen-changelogs v0.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

gen-changelogs


CircleCI

Install

$ npm install gen-changelogs --save-dev
# or
$ yarn add gen-changelogs -D

Documentation

Table of Contents

getCurrentActiveType

extract the in-pre-release type in target version

Parameters

Returns string

shouldContinuePrerelease

if a version is currently in pre-release state, and if it current in-pre-release type is same as expect type, it should continue the pre-release with the same type

Parameters

Returns boolean

getTypePriority

calculate the priority of release type, major - 2, minor - 1, patch - 0

Parameters

Returns number

bumpVersion

determine the recommended version bump

Parameters

Returns Promise resolves the determined version bump