changelog icon indicating copy to clipboard operation
changelog copied to clipboard

How to create just CHANGELOG.md file?

Open duruer opened this issue 5 years ago • 2 comments

Hi, I would like to create just CHANGELOG.md file with just simple command with npx without deploying or publishing. I couldn't do myself this, that's why I open the issue here.

I tried this: yarn semantic-release --generate-notes --prepare

but it doesn't generate any file.

duruer avatar Dec 18 '20 14:12 duruer

if you are not looking to publish, semantic-release may not be the right tool for the job. you may find conventional-changelog a better fit for what you are after

travi avatar Dec 18 '20 16:12 travi

Well, I'm already publishing my NPM package, but I have 2 branches such as master and dev. I publish on master branch and develop on dev branch. But if master also publishes CHANGELOG.md and at the same time updating package.json, then semantic-release-bot will commit a new commit. And we need to merge back to dev branch from master branch.

So my problem is I try to generate CHANGELOG.md on dev too without merging master again. If you have any other idea or solution for this kind of situation, I'm listening...

duruer avatar Dec 19 '20 21:12 duruer