返回 Skill 列表
extension
分类: 开发与工程无需 API Key

publish-pypi

在PyPI上发布一个新的版本。当发布、向PyPI发布或制作一个版本时使用。

person作者: jakexiaohubgithub

Publish to PyPI

Steps

  1. Ensure version is bumped — verify or use bump-version skill

  2. Run full checks — use complete-checkpoint skill, but include LLM tests (uv run pytest -v)

  3. Commit version bump if not already committed

  4. Build and publish:

    uv build
    uv run uv-publish
    
  5. Tag and push:

    git tag vX.Y.Z
    git push && git push --tags
    

Notes

  • uv run uv-publish reads credentials from ~/.pypirc
  • For TestPyPI: uv run uv-publish --repository testpypi