doc: more documentation on publishing

This commit is contained in:
Mathew Guest 2024-11-16 03:02:32 -07:00
parent 881a2db9dc
commit fb0ef3d8f6

@ -113,12 +113,21 @@ flake8 app_skellington
Publish: 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 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 git push origin v0.2.0
# Build the wheel:
python -m build python -m build
# Publish to pypi:
twine check dist/*
twine upload dist/* twine upload dist/*
``` ```
* Reference https://packaging.python.org/en/latest/overview/
# Version # Version