release
Execute the complete release workflow in a single command.
Usage
bash
relizy release [options]What It Does
The release command combines multiple operations:
- ✅ Bumps version in package.json
- ✅ Generates/updates CHANGELOG.md
- ✅ Creates a git commit
- ✅ Creates a git tag
- ✅ Publishes to npm
- ✅ Creates GitHub/GitLab release
Options
Release Type
Specify the version bump type:
bash
# Patch release (1.0.0 → 1.0.1)
relizy release --patch
# Minor release (1.0.0 → 1.1.0)
relizy release --minor
# Major release (1.0.0 → 2.0.0)
relizy release --majorIf no type is specified, Relizy automatically detects it from commits.
--no-commit
Skip creating git commit:
bash
relizy release --minor --no-commit--no-push
Skip pushing to remote:
bash
relizy release --minor --no-push--dry-run
Preview changes without executing:
bash
relizy release --minor --dry-run--yes
Skip all confirmations:
bash
relizy release --minor --yesExamples
Basic Release
bash
# Interactive release
relizy release --patch
# Output:
# → Bumping version to 1.0.1
# → Generating changelog
# → Creating commit
# → Creating tag v1.0.1
# → Pushing to remote
# ✓ Release complete!Complete Release with Publishing
bash
relizy release --minor
# This will:
# 1. Bump to 1.1.0
# 2. Update changelog
# 3. Commit and tag
# 4. Publish to npm
# 5. Create GitHub releaseMonorepo Selective Release
bash
relizy release --selective --minor
# Only packages with changes are bumpedCI/CD Usage
bash
# Automated release in CI
relizy release --patch --yes --no-cleanSee Also
- bump - Version bumping only
- changelog - Changelog generation only
- publish - NPM publishing only
- provider-release - Provider releases only