From fb0ef3d8f6a5dc086d6d79f7d601f48492242ae3 Mon Sep 17 00:00:00 2001 From: Mathew Guest Date: Sat, 16 Nov 2024 03:02:32 -0700 Subject: [PATCH] doc: more documentation on publishing --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7484335..6ad4fcb 100644 --- a/README.md +++ b/README.md @@ -113,12 +113,21 @@ flake8 app_skellington Publish: ``` -# Create a tag with the desired version number: +# Push latest commit, or on commit ready to publish: +git push + +# Create a tag with the desired version number and push: git tag -a v0.2.0 -m "0.2.0 provides modern pyproject.toml build with setuptools, versioning, and publishing" git push origin v0.2.0 + +# Build the wheel: python -m build + +# Publish to pypi: +twine check dist/* twine upload dist/* ``` + * Reference https://packaging.python.org/en/latest/overview/ # Version