Automated git commit analysis workflow categorizing conventional commits, calculating SemVer version bumps, and generating clean release notes.
SemVer Release & Changelog Workflow
Process Overview
This workflow parses git commit logs since the last release tag and compiles an industry-standard SemVer release package.
Step 1: Commit Analysis
Parse commits following Conventional Commits format:
feat: → Minor version bump (+0.1.0)
fix:, perf:, refactor: → Patch version bump (+0.0.1)
BREAKING CHANGE: or feat!: → Major version bump (+1.0.0)
Step 2: Categorization Template
# Release v[X.Y.Z] — [Date]
### 🚀 New Features
- **[Scope]**: Feature description ([commit_hash](link))
### 🐛 Bug Fixes & Performance
- **[Scope]**: Fix description ([commit_hash](link))
### 🧹 Internal & Maintenance
- Dependency updates, refactoring, and test additions
Step 3: Validation
- Verify that
package.json version matches the target tag.
- Ensure lockfile is synchronized and CI builds pass cleanly.