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

Using git cliff --init github generates an entire changelog, rather than grouping by tags / releases. #485

Closed
dessalines opened this issue Feb 7, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@dessalines
Copy link

Describe the bug

Running git cliff --init github then any command, outputs the entire git changelog.

The only way I've found around this, is to do git cliff MY_LAST_TAG..HEAD --tag MY_NEXT_TAG

To reproduce

Testing on my own repo:

cargo install --git https://github.com/orhun/git-cliff
git clone https://github.com/dessalines/thumb-key
cd thumb-key
git cliff --init github
git cliff

Expected behavior

It should be grouped by tag, or limited by unreleased.

Software information

main branch

  • Operating system: Arch linux
  • Rust version: Rust 1.75.0
  • Project version: main
@dessalines dessalines added the bug Something isn't working label Feb 7, 2024
Copy link

welcome bot commented Feb 7, 2024

Thanks for opening your first issue at git-cliff! Be sure to follow the issue template! ⛰️

@orhun
Copy link
Owner

orhun commented Mar 1, 2024

Hey, it looks like your tags does not start with v which causes git-cliff to skip them. I upstreamed a patch here: dessalines/thumb-key#781

@orhun orhun closed this as not planned Won't fix, can't repro, duplicate, stale Mar 1, 2024
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