Run conventional-release-setup
in your command-line to enable your project to be released with Conventional Commits:
npx conventional-release-setup@latest
Motivation
Many of my projects use Conventional Commits for the release process. Because setting it up is repetitive, I automated the steps.
In the past, I would:
- create commitlint
- checks if my commit messages meet the conventional commits format (this information is key when generating a release)
- set up husky
- lints the commit message via a Git hook
- add Release Please
- bumps the version and generates the CHANGELOG
Now I run the CLI and it does all the work for me.
Usage
Run with npx:
npx conventional-release-setup
Or run globally:
npm install --global conventional-release-setup && conventional-release-setup
Package
You can find conventional-release-setup
on:
See the GitHub repository.