Publikacja paczki Python na PyPI za pomocą Taskfile.
lint ──┐
├── (parallel) ── build (+ twine check) ── publish
test ──┘
Brak sekcji environments — nie jest potrzebna dla prostego pipeline publikacji.
taskfile auth setup --registry pypi # jednorazowo
taskfile run test # pytest + coverage
taskfile run build # wheel + sdist + twine check
taskfile run publish # upload do PyPI
taskfile run release --var VERSION=1.0.0 # tag + build + publish
taskfile run verify --var VERSION=1.0.0 # sprawdź czy się instaluje
| Zmienna | Gdzie uzyskać |
|---|---|
PYPI_TOKEN |
https://pypi.org/manage/account/token/ |
taskfile auth setup --registry pypi