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
changelog --max-minors does not work with gaps #112
Comments
I can't reproduce.
|
I think it may have to do with/occur with version gaps or jumps. Reproducible with git init
git commit --allow-empty -m "misc: Test"
git commit --allow-empty -m "misc: Test"
git tag v23.2.4 HEAD
git tag v8.8.8 HEAD~1
convco changelog --max-minors 1 outputs both v23.2.4 and v8.8.8
instead of only v23.2.4 |
Indeed, gaps don't work, because we calculate when to stop. e.g. |
I have a solution for this, but it is part of a bigger refactor. This refactor will probably make #111 also easy to implement. |
--max-minors does not seem to work. The generated changelog for --max-minors 1 includes all versions.
--max-majors, --max-patches, and --max-versions works fine, limiting the versions as expected.
convco v0.3.15
The text was updated successfully, but these errors were encountered: