Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(generate): add function for getting a recommended version bump #29

Closed

Conversation

hugowetterberg
Copy link

The conventional changelog provides an excellent guidance on which part of the version number one should bump on release. This commit exposes a bump function that looks at the commits and returns a recommendation for either a major, minor, or patch bump.

The conventional changelog provides an excellent guidance on which part of the version number one should bump on release. This commit exposes a `bump` function that looks at the commits and returns a recommendation for either a `major`, `minor`, or `patch` bump.
@blackjid
Copy link

👍 nice!

@ajoslin
Copy link
Contributor

ajoslin commented Dec 15, 2014

Love it!

@stevemao
Copy link
Member

I think it's very interesting. However I think it might be better to make this as a standalone module.

@voxpelli
Copy link

Either the recommended version bump needs to be part of conventional-changelog or conventional-changelog needs to expose the parsed changes to an external module so that it can make a decision based on it before it sends a version number into the standard conventional-changelog method to have the changelog itself written.

@stevemao
Copy link
Member

stevemao commented Mar 2, 2015

@voxpelli I'm working on this now #22

@ajoslin ajoslin force-pushed the master branch 2 times, most recently from 1ffb9e8 to 43a03c7 Compare March 12, 2015 19:24
@stevemao stevemao mentioned this pull request Mar 14, 2015
stevemao added a commit to conventional-changelog-archived-repos/conventional-recommended-bump that referenced this pull request Jun 17, 2015
@stevemao stevemao closed this in df874a0 Jun 17, 2015
@stevemao
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants