-
Increment the version number in init.py using semver conventions:
- MAJOR version when you make incompatible API changes,
- MINOR version when you add functionality in a backwards compatible manner, and
- PATCH version when you make backwards compatible bug fixes.
-
Commit the change to the
master
branch with the version number and any fixed issues referenced in the title.
git commit -m "v2.0.0 - return exit code from executed command, fix #3"
- Build and upload the source distribution to staging – TestPyPI (Test Python Package Index):
# Run test, build the package, and upload to TestPyPI.
make upload-test
- Download the package and perform any manual qualification steps:
# Install from TestPyPI.
make install-test
- Build and upload the source distribution to production – PyPI (Python Package Index):
# Run tests, build the package, upload to PyPI, and publish a tagged GitHub release.
make upload
- Install and enjoy! 😀:
# Install from PyPI.
make install