This is a quick reference for the openzim-mcp release system. For comprehensive documentation, see the Release System Guide in the wiki.
-
Make changes with conventional commits:
git commit -m "feat: add new feature" # Minor version bump git commit -m "fix: resolve bug" # Patch version bump git commit -m "feat!: breaking change" # Major version bump
-
Push to main - Release Please creates a PR automatically
-
Merge the release PR - Triggers automated release to PyPI
# Direct tag push for emergencies
git tag v0.6.3
git push origin v0.6.3Or use GitHub Actions → Release → Run workflow.
- Conventional commits drive automatic versioning
- Release Please manages changelog and version bumps
- PyPI publishing uses trusted publishing (no tokens needed)
- All tests must pass before release
| Issue | Solution |
|---|---|
| Version mismatch | Check pyproject.toml and init.py match |
| PyPI upload fails | Version may already exist; increment version |
| Tests fail | Fix tests, push to main, re-run release |