- You must have a PyPI account and must be an owner or maintainer of the createsend package.
-
Increment
version
in thesetup.py
file, ensuring that you use Semantic Versioning. -
Add an entry to
HISTORY.md
which clearly explains the new release. -
Commit your changes:
git commit -am "Version X.Y.Z"
-
Tag the new version:
git tag -a vX.Y.Z -m "Version X.Y.Z"
-
Push your changes to GitHub, including the tag you just created:
git push origin master --tags
-
Ensure that all tests pass, and that coverage is maintained or improved.
-
Add a new GitHub Release using the newly created tag.
rake build
This builds a source distribution of the package locally to a file named something like dist/createsend-X.Y.Z.tar.gz
. You're now ready to release the package.
rake release
This publishes the package to PyPI. You should see the newly published version of the package there. All done!