1.0.0 • Published 10 years ago
conventional-recommended-workflow v1.0.0
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
masterbranch, 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-changelogand 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
1.0.0
10 years ago