Quick Start¶
Get releasio running in 5 minutes.
Prerequisites¶
- Python project with
pyproject.toml - Git repository with commit history
- (Optional) git-cliff for advanced changelog customization
Step 1: Install releasio¶
Step 2: Preview Your Release¶
Run check to see what would happen:
Example output:
┌─ Release Preview ─────────────────────────────────────────┐
│ │
│ Project: my-awesome-project │
│ Current: v1.2.0 │
│ Next: v1.3.0 (minor bump) │
│ │
│ Commits (5): │
│ feat: add new authentication module │
│ fix: resolve database connection issue │
│ docs: update API documentation │
│ fix: handle edge case in parser │
│ chore: update dependencies │
│ │
└───────────────────────────────────────────────────────────┘
Safe to Run
The check command never modifies any files. Run it anytime to preview
what a release would look like.
Step 3: Create a Release PR¶
Create a pull request with your release:
This will:
- Create a branch (default:
releasio/release) - Update version in
pyproject.toml - Generate/update
CHANGELOG.md - Create a pull request
Step 4: Merge and Release¶
After merging the PR, create the release:
This will:
- Create a git tag
- Push the tag
- Create a GitHub release
- Publish to PyPI (if configured)
One-Command Release¶
For a complete release in one command:
This combines update, commit, tag, and publish into a single workflow.
Using Conventional Commits¶
releasio uses conventional commits to determine version bumps:
# Minor version bump (feat)
git commit -m "feat: add user authentication"
# Patch version bump (fix)
git commit -m "fix: resolve login issue"
# Major version bump (breaking change)
git commit -m "feat!: redesign API endpoints"
Next Steps¶
- First Release - Complete walkthrough with GitHub Actions
- Configuration - Customize releasio
- GitHub Actions - Automate releases