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

Multiple tags for a single commit #149

Open
julienrbrt opened this issue Mar 20, 2023 · 1 comment
Open

Multiple tags for a single commit #149

julienrbrt opened this issue Mar 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@julienrbrt
Copy link

julienrbrt commented Mar 20, 2023

I'd like to display the correct tag in the generated changelog.
Oftentimes, in our project, multiple projects are tagged on the same commit (monorepo, using --include-path).
This leads when generating the changelog to have the wrong tag displayed in the changelog (when none specified)
Or getting an error like WARN git_cliff > There is already a tag (math/v1.0.0-rc.0) for ea8c76eb65c884fb4e2619196953a1f0dfe3f28d when trying to generate a changelog for another project.
Is there a solution for this?

Note, in this example I am using npx git-cliff@latest --include-path "log/**/*.go" --output log/CHANGELOG.md --tag v0.1.0 for generating a changelog.

@orhun orhun added the bug Something isn't working label Apr 26, 2023
@orhun
Copy link
Owner

orhun commented Jun 18, 2024

#711 is an attempt to fix this.

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