-
-
Notifications
You must be signed in to change notification settings - Fork 204
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
Context is incorrect when using --unreleased and --tag #457
Comments
Thanks for opening your first issue at git-cliff! Be sure to follow the issue template! ⛰️ |
Note that |
Another note, this appears to be fixed in On main
On v1.4.0
|
Yes, it should be fixed on main. I will create a new release soon! Thanks for reporting 🐻 |
Describe the bug
A common workflow is to run
git-cliff --unreleased --tag {new version}
. However, git-cliff appears to corrupt the value ofprevious.version
in the context when --tag is provided.To reproduce
I have a git repo which looks like this:
Note that without
--tag
, the previous.version is correctlyv0.1.9
:However, with
--tag
, it overwrites to a different valueSoftware information
The text was updated successfully, but these errors were encountered: