Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.45 KB

RELEASE.md

File metadata and controls

53 lines (34 loc) · 1.45 KB

Releasing createsend-ruby

Requirements

Prepare the release

  • Increment the VERSION constant in the lib/createsend/version.rb 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 gem

rake build

This builds the gem locally to a file named something like createsend-X.Y.Z.gem. You're now ready to release the gem.

Release the gem

rake release

This publishes the gem to RubyGems.org. You should see the newly published version of the gem there. All done!