djangoplay-cli / Deployment / Package Release Runbook
DocsDjangoPlay CLIDeploymentPackage Release Runbook

Package Release Runbook

Equivalent:

1 min readApplies to v1.0.6
On this page ▾
  1. Build
  2. Validate distribution metadata
  3. Test
  4. Lint
  5. TestPyPI
  6. PyPI
  7. Post-release smoke test

Build

bash
make build
bash
python -m build

Validate distribution metadata

bash
make check

Equivalent:

bash
twine check dist/*

Test

bash
make test

Lint

bash
make lint

TestPyPI

bash
make publish-testpypi

Then test installation from TestPyPI in a clean environment.

PyPI

bash
make publish

Publishing is deliberately a separate action from building.

Post-release smoke test

bash
python -m pip install --upgrade djangoplay-cli
dplay --version
dplay --help

Then test against a real DjangoPlay development repository.