010109 Release Automation

Semantic version mapping, semantic-release automation, post-release workflow, and release configuration for conventional commits.

natuleadan Updated

File contents

Release Automation

Overview

Automated versioning and releases using semantic-release. Covers version bump rules, semantic-release setup, post-push synchronization, and configuration files.

Quick Reference

Version Bump Mapping

Commit Type Bump Example
upgrade MAJOR Breaking API change
feat MINOR New feature
fix PATCH Bug fix
perf PATCH Performance improvement
docs NONE Documentation
refactor NONE Code restructure

Release Flow

Push to main → GitHub Actions
  → semantic-release analyzes commits
  → Determines version (MAJOR/MINOR/PATCH)
  → Updates package.json + CHANGELOG.md
  → Creates git tag + GitHub Release

Post-Release Sync

git fetch origin --tags
git checkout dev
git rebase main

References

  • Versioning — Commit-to-version mapping
  • Semantic Release — Automation setup
  • Post-Release Workflow — Post-push sync guide
  • Configuration — commitlint + .releaserc.json + CI

natuleadan/skills/tree/main/skills/010109-release-automation commit b53c2b561f

Frequently asked questions

npx skillmds@latest add natuleadan/010109-release-automation