-
Notifications
You must be signed in to change notification settings - Fork 99
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
inconsistent changelog: empty or not (random) #354
Comments
hmm, thanks for reporting this. I haven't noticed any such issues so far unfortunately
yeah, I guess we could/should introduce something like https://github.com/visionmedia/debug to enable verbose logging if such things happen 🤔 |
Yes that could be helpful. For example, just logging which tag it uses when I don't provide |
FYI I tried with a new Github token and it didn't work better :'( |
@Turbo87 I have the sample problem, https://github.com/izelnakri/memserver [having the CHANGELOG or not having has no impact on the command output, tried that as well] |
@izelnakri the PRs in your project don't have any labels, which is why they don't show up in the generated changelog. see https://github.com/lerna/lerna-changelog#usage |
Yes, I just realized that after an hour of debugging 🤦 Added an explanation PR here: #391 Initially I thought it autogenerates a label for each commit by default if missing, my assumption was wrong 😄 It would be nice I think if we build some 'AI' like logic to generate changelog per PR if its missing label :) |
Hi,
I'm working on docusaurus. We are long-time lerna-changelog users.
I noticed that Lerna gives me unpredictable changelogs.
A command can give me an empty changelog, and 10 seconds later, the exact same command gives me the changelog I want:
As I'm not able to enable verbose logging or whatever, I don't really know what is happening.
I noticed that when the changelog is empty, the last % of the progress bar takes much longer just before.
Also noticed that running
lerna-changelog --from lastReleaseTag
is much faster than justlerna-changelog
, and much more likely to give me a non-empty output. Basically, I feelHas anyone an idea about what is going on?
I tried to delete the
.changelog
generated folder to see if it improves, but not really. Maybe there's some rate-limiting happening and errors are swallowed or something?The repo is public and my token has the correct permissions, afaik:
The text was updated successfully, but these errors were encountered: