How to Create Semantic Release Notes
Learn how to automate versioning and release note generation using semantic-release.
What is semantic-release?
semantic-release is an automated tool that completely manages your versioning and package publishing. It analyzes your commit messages to determine the next semantic version number and generates a changelog.
The Prerequisite: Conventional Commits
For semantic-release to work, your repository must strictly enforce the Conventional Commits format. The tool looks for "feat" (minor bump), "fix" (patch bump), or "BREAKING CHANGE" (major bump).
Configuration
semantic-release runs in your CI environment (e.g., GitHub Actions). Upon a successful merge to the main branch, it runs plugins to generate the release notes markdown and publish the release via the GitHub API.