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

--bumped-version return whole changelog if nothing to bump #533

Closed
1 task done
liuyinz opened this issue Mar 4, 2024 · 1 comment
Closed
1 task done

--bumped-version return whole changelog if nothing to bump #533

liuyinz opened this issue Mar 4, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@liuyinz
Copy link
Contributor

liuyinz commented Mar 4, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

If there is no unreleased commits, git-cliff --bumped-version would return whole changelog content, which is not the result expected.

I think option --bumped-version should return new version if exists, or return current latest version as default.

Steps To Reproduce

  1. checkout on newest tag
  2. run git-cliff --bumnped-version

Expected behavior

return latest tag if no unreleased commits rather than whole changelog content

Screenshots / Logs

No response

Software information

  • Operating system:
  • Rust version:
  • Project version:

Additional context

No response

@liuyinz liuyinz added the bug Something isn't working label Mar 4, 2024
@orhun orhun closed this as completed in 45c87f2 Mar 8, 2024
@orhun
Copy link
Owner

orhun commented Mar 8, 2024

Thanks for reporting! This should be fixed in 45c87f2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants