Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.37 KB

RELEASE.md

File metadata and controls

47 lines (30 loc) · 1.37 KB

Releasing createsend-python

Requirements

  • You must have a PyPI account and must be an owner or maintainer of the createsend package.

Prepare the release

  • Increment version in the setup.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.

Build the package

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.

Release the package

rake release

This publishes the package to PyPI. You should see the newly published version of the package there. All done!