This skill automates semantic versioning, changelog generation, and git tagging to streamline release management and production readiness.
npx playbooks add skill hackur/web-standards-playground-showcase --skill release-management
Automated release workflow using ./scripts/release.sh for semantic versioning, changelog generation, and git tagging.
# Check current version
./scripts/release.sh current
# Preview patch release (dry-run default)
./scripts/release.sh prepare patch
# Execute full release workflow
DRY_RUN=false ./scripts/release.sh full patch
# Individual steps
./scripts/release.sh changelog # Generate changelog only
./scripts/release.sh tag # Create git tag
./scripts/release.sh publish # Push to remote
DRY_RUN=false ./scripts/release.sh full patch
This executes: prepare → tag → publish in sequence.
| Type | Version Change | Example | Use Case |
|------|---------------|---------|----------|
| patch | 1.0.0 → 1.0.1 | Bug fixes, security patches | Most common |
| minor | 1.0.0 → 1.1.0 | New features (backward compatible) | New functionality |
| major | 1.0.0 → 2.0.0 | Breaking changes | API changes |
Changelog generator recognizes these commit types:
# Features (→ Features section in changelog)
git commit -m "feat: add user authentication system"
# Bug fixes (→ Bug Fixes section)
git commit -m "fix: correct validation error in login form"
# Other types (→ Respective sections)
git commit -m "chore: update dependencies"
git commit -m "docs: add API documentation"
git commit -m "refactor: simplify payment processing"
git commit -m "test: add unit tests for promo codes"
git commit -m "style: format code with prettier"
git commit -m "perf: optimize database queries"
git commit -m "ci: update GitLab pipeline config"
git commit -m "build: configure webpack settings"
The release script updates 3 files:
version fieldversion field## [1.2.3] - 2025-10-28
### Features
- Add user authentication system
- Implement password reset flow
### Bug Fixes
- Correct validation error in login form
- Fix memory leak in image processing
### Chores
- Update Laravel to 12.0
- Upgrade Node dependencies
All commands run in preview mode unless explicitly disabled:
# Safe preview (default)
./scripts/release.sh prepare patch
# Actual execution
DRY_RUN=false ./scripts/release.sh prepare patch
Script checks:
Prompts before:
If release fails:
# Manually revert version changes
git checkout -- package.json composer.json CHANGELOG.md
# Delete local tag
git tag -d v1.2.3
# Delete remote tag (if published)
git push origin :refs/tags/v1.2.3
# 1. Create release
DRY_RUN=false ./scripts/release.sh full patch
# 2. Deploy to production (uses latest tag)
./scripts/prod.sh deploy
GitLab CI/CD:
When you create a release tag, GitLab pipeline triggers production deployment job.
# This only previews changes, doesn't execute
./scripts/release.sh full patch
✅ CORRECT: Explicitly disable dry-run
DRY_RUN=false ./scripts/release.sh full patch
# Uncommitted changes will block release
git status
# modified: app/Models/User.php
./scripts/release.sh prepare patch
# ERROR: Working directory not clean
✅ CORRECT: Commit or stash changes first
git add .
git commit -m "feat: update user model"
./scripts/release.sh prepare patch
# On feature branch
git branch
# * feature/new-auth
./scripts/release.sh prepare patch
# ERROR: Not on main branch
✅ CORRECT: Switch to main branch
git checkout main
git pull origin main
./scripts/release.sh prepare patch
# 1. Ensure clean state
git status
git checkout main
git pull origin main
# 2. Check current version
./scripts/release.sh current
# Current version: 1.2.0
# 3. Preview patch release
./scripts/release.sh prepare patch
# Would bump: 1.2.0 → 1.2.1
# Preview changelog...
# 4. Execute release
DRY_RUN=false ./scripts/release.sh full patch
# ✅ Version bumped to 1.2.1
# ✅ Changelog generated
# ✅ Tag created: v1.2.1
# ✅ Pushed to origin
# 5. Deploy to production
./scripts/prod.sh deploy
docs/deployment/RELEASE-MANAGEMENT.mddocs/development/PACKAGE-VERSIONING-STRATEGY.mddocs/deployment/DEPLOYMENT-GUIDE.mdWeekly roundup of top Claude Code skills, MCP servers, and AI coding tips.