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

Base the bump calculation and changelog on current version #728

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kf6kjg
Copy link

@kf6kjg kf6kjg commented Mar 10, 2021

Previously the bump suggestion and changelog generation ignored the version discovered by the code and did their own base version discovery - often times getting it wrong.

This PR requires Conventional Commit 777 or similar to be merged and deployed first, then the version of conventional-recommended-bump updated to match the release that contains those changes. While this PR won't break if that's not done, it also won't gain the functionality I intended to bring.

I'm not sure whether or not to consider this a breaking change. It might be as it changes what the recommended bump and changelog generation returns under some edge cases: specifically when the most recent tag in the commit history graph for the current commit is not the most recent release.

WRT testing: after doing a deep scan of how the testing system works here I also don't see a nice way to test the core problem, as the test mock system mocks the libraries, resulting in no ability to test the core problem: that the bump and changelog libraries weren't being fed the information they need to determine the correct base release tag.

Previously the bump suggestion and changelog generation ignored the version discovered by the code and did their own base version discovery - often times getting it wrong.
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

1 participant