Browse / Deployment Devops / Package Publishing

Package Publishing

Automates the release process for Python packages, including version bumping, changelog generation, and publishing to PyPI.

SkillDeployment DevopsRelease

The source repository doesn't declare a license. Check its terms before reusing the code.

Key features

  • Automated semantic version bumping in pyproject.toml
  • Performs pre-flight checks for a clean repository and necessary credentials
  • Automatic CHANGELOG.md generation from git commits
  • Handles Git/Jujutsu version tagging and release commits
  • Builds and publishes packages to PyPI using the 'uv' tool

Use cases

  • Releasing a new version with features or bug fixes
  • Publishing a patch to address a critical issue
  • Automating the software release lifecycle for a Python project

FAQ

How does this skill improve my workflow?

It streamlines your release workflow by replacing manual, error-prone steps with a single, automated process. This ensures consistent versioning, accurate changelogs, and faster, more reliable releases to PyPI.

What are the key capabilities of this skill?

It provides automated semantic version bumping in `pyproject.toml`, automatic changelog generation from your git history, Git/Jujutsu release tagging, pre-flight checks, and package building and publishing to PyPI using the 'uv' tool.

When should I use this skill?

Use this skill whenever you are ready to release a new version of your Python project. It's ideal for making patch, minor, or major releases after you've merged new features or bug fixes, simplifying the entire workflow.

What does the Package Publishing skill do?

This skill automates the entire process of releasing a new version of a Python package. It handles version bumping, updates the CHANGELOG.md file from git commits, creates release tags, and publishes the package to PyPI.