-
Notifications
You must be signed in to change notification settings - Fork 800
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
Why are there duplicate records on different versions #509
Comments
This might be this conventional-changelog/conventional-changelog#567 |
@tommywo The version number has not changed? |
This is exactly conventional-changelog/conventional-changelog#567. Happens for me on 7.1.0 and on 4.3.0. |
Same for me in 7.1.0. I downgraded to 7.0.1 and 7.0.0, but it is still happening. |
Having same issue: new entries are added to the changelog, but old ones getting re-added as well to the new version.
|
I realized I need to do |
can you elaborate this? |
It turned out that my git process was not fully correct (thanks StackOverflow). |
I am still having this issue. Upgraded to vs 8.0.0, which should have the fix referenced by @tommywo in conventional-changelog/conventional-changelog#567. |
Also having this issue in v8.0.0. But I've noticed that it has to do with architecture too...? it works on my mac but not on my jenkins CI's debian build executor... |
I was experiencing this and caught it too late - my changelog was hopelessly messed up with lots of duplicates. I found the issue had to do with failing to tag each release correctly as @btkfrank said. A quick way to confirm this is to see if you have something like I resolved it without a painful manual fix of the changelog by doing this:
Phew! |
My issue is, unfortunately, a bit different. In my changelog, I don't even see any links - I get this:
and everything to date is included in that new entry. I also notice that it works fine on my mac, but when I'm doing this in a Jenkins docker build agent - this is what I get. Any hints at what might be happening? |
I'm using standard-version 9.0.0 and I'm still getting duplicated change log messages, even though I'm doing a --follow-tags on git push. |
Using version 9.0.0 I am also having the similar issue. When I run in my local (Mac), everything seems to be correct. |
I just realized what happened on my Jenkins - it had been doing a git clone of only the branch that I was building - and so other tags didn't exist locally. I had to adjust my code to run a |
I do figured out that it was Jenkins configuration issue. To fetch the tags, I had to modify the After that it worked as expected. |
Has this issue been fixed? |
Yes - if you're on Jenkins, you just need to adjust your git clone to actually fetch all tags. (if you're in a jenkinsfile, i'm not sure a clean way to do it beyond adding a |
I just installed the whole commitlint + husky + standard-version "package" and I'm stuck in this issue. I have my commits repeated in my changelog and it's bad that the first reason (=> generating a proper changelog) to add this package won't even work properly :-( What I did in order to make a proper changelog from the beginning, as explained here by @lukaszmn :
And, well, I don't know if this can help to fix this opened issue, but at least, by doing this in my projects, I get a proper changelog (I even added the v0.0.0 tag (which he talks about at the end of his website), at my "wanted-to-be" first commit in order to decide whenever to start the changelog). Thanks to him, I'm no more stucked into this 👍 |
Same problem, my generate |
Thank you @ldanielw1 , |
2 years later... also happening with my projects. |
@christian-hawk Did u find any solution for this ? |
@arvindanta tagging the commit locally and re-running. Similar to what @petertwise posted. |
Here, we resolved the problem by adding the configuration This issue response helped us to resolve here. |
conventional changelog needs git tags to compare between what changed. |
Why are there duplicate records on different versions. I am very confused, has anyone encountered the same problem?
The text was updated successfully, but these errors were encountered: