Here are the steps to publish a version
- Create a github personal token
- Use the GitHub personal token generated to set the CONVENTIONAL_GITHUB_RELEASER_TOKEN environment variable. You can use direnv
$ yarn release
This will:
- Create a new version based on the commit types from head and package.json version
- Create a changelog with all the commit from head and the last tag version following keepachangelog
- Create a new commit with the generated changelog, update package.json
- Create a new tag following the semver
- Push this tag to the remote
- Trigger the new version publish