-
Notifications
You must be signed in to change notification settings - Fork 49
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
semantic-release fails due to a crash in conventional-changelog-writer
after updating to latest major versions
#660
Comments
Same thing here :( |
I haven't seen this in my own projects. We need more details to understand what is unique in your projects. Could you give details like versions of anything semantic-release that you've installed directly? Extra plugins? Conventional-changelog presets? |
same this here |
@travi We have a custom package that uses a few semantic-release plugins ( We are using |
I was getting the same error here and solved it by unpinning the conventional-changelog-conventionalcommits plugin. Runing this was giving me an error:
I was using the pinned version of 7.0.2 because it was the temporary fix to issue #633 However, unpinning conventional-changelog-conventionalcommits solved the problem, so running:
I didn't test it but I assume that rolling back semantic-release to the latest version before 24.0.0 and using conventionalchangelog 7.0.2 will work also as that is what was functional before for me. |
@fin-gal I see, but then There is an "ongoing" PR, not sure if that's a fair name, since it looks like it's stuck for a month 😅 |
please reconsider unpinning. instead, we recommend pinning the current major version now that you have verified that it is working. pinning the current major versions will help you avoid surprises the next time that breaking changes are released |
there is a typo in your config (preset vs present) at https://github.com/technology-studio/semantic-release/blob/ddaa60038814f92faf4b5ba17354f1c45aedb11e/src/index.js#L10 also, what does |
it is interesting to me that this sort of conflict pretty consistently gets reported for projects using yarn. i have not seen this reported for npm-based projects. if regardless, if you are experiencing a conflict, you still have the option to pin the previous major versions until commitlint finishes the update. |
This comment was marked as off-topic.
This comment was marked as off-topic.
@effektsvk since you're referencing Because it is not explicitly listed, it's probably using a version "accidentally" installed alongside it (probably from Although a bit different from your setup, I have a custom I just updated the
tl;dr adding Please confirm if that does the trick for you 😄 |
@sheerlox, @travi Sorry, I just now noticed the replies, for some reason I didn't get any email. We intentionally install all commitlint related packages only in According to
Also, @travi, thank you for catching that typo 😅 |
…oyment The most recent attempt at deployment failed on main. Found help from: semantic-release/release-notes-generator#660
closing because it sounds like there are known solution options for all scenarios mentioned in this thread. please feel free to comment if you believe there is still an unhandled scenario. to summarize, either
|
conventional-changelog-conventionalcommits had to be upgraded to get things going again. Cf. semantic-release/release-notes-generator#660 (comment)
Hello,
we're having a problem with
semantic-release
command, our release workflow fails.I have a suspicion that it's related to issue #633. I didn't want to bump the issue though, because I'm not sure if the culprit is the same.
Here is our failed workflow, but I think this excerpt is enough:
The text was updated successfully, but these errors were encountered: