Template for automated releases with semantic versioning & GitHub Actions.
Prepare a release locally, review it, and the workflow will automatically create a GitHub Release when a tag is pushed.
- Commit your changes following the Conventional Commits.
- Run
npm run release, which bumps the version, updatesCHANGELOG.md, creates a commit, and adds a Git tag. - Push the changes using
git push --follow-tags. - The GitHub Action detects the new tag and publishes a GitHub Release with the generated changelog.
- absolute-version/commit-and-tag-version – bumps version, updates
CHANGELOG.md, creates a commit and a Git tag. - yashanand1910/standard-release-notes – generates release notes.
- softprops/action-gh-release – creates and publishes GitHub Releases.
Repository → Settings → Actions → Workflow permissions → set to Read and write permissions.
To customize commit message formatting, tag prefix, or which commits appear in the changelog, edit the .versionrc file.
For the full list of supported options, check the Conventional Changelog Config Spec.
More use cases and workflow examples are documented in the wiki: