conventional-recommended-workflow
v1.0.0
Published
apply the recommended workflow outlined in conventional-changelog-cli.
Downloads
15
Maintainers
Readme
Conventional Recommended Workflow
Automatic CHANGELOG.md generation, using GitHub's new squash button and the workflow outlined in conventional-changelog-cli.
how it works:
- when you land commits on your
master
branch, select the Squash and Merge option. - add a title and body that follows the conventional-changelog conventions.
- when you're ready to release to npm:
- checkout
master
. - run
conventional-recommended-workflow
. git push --tags; git push origin master; npm publish
.
conventional-recommended-workflow
does the following:
- bumps the version in package.json
- runs
conventional-changelog
and updates CHANGELOG.md. - commits package.json and CHANGELOG.md.
- tags a new release.
Initial CHANGELOG.md Generation
When you're generating your changelog for the first time, simply do:
conventional-recommended-workflow --first-release
Installation
npm i conventional-recommended-workflow
Automating
Add this to your package.json
{
"scripts": {
"release": "conventional-recommended-workflow"
}
}
License
ISC