New versions of the gem are cut by the Postmark team, this is a quick guide to ensuring a smooth release.
- Determine the next version of the gem by following the SemVer guidelines.
- Verify all builds are passing on CircleCI for your branch.
- Merge in your branch to main.
- Update
lib/postmark-rails/version.rb
with the new version. - Update
CHANGELOG.rdoc
with a brief description of the changes. - Commit to git with a comment of "Bump version to x.y.z".
- run
rake release
- This will push to github (with the version tag) and rubygems with the version inlib/postmark-rails/version.rb
. *Note that if you're on Bundler 1.17 there's a bug that hides the prompt for your OTP. If it hangs after adding the tag then it's asking for your OTP, enter your OTP and press Enter. Bundler 2.x and beyond resolved this issue. * - Verify the new version is on github and rubygems.
- Create a new release for the version on Github releases.
- Add or update any related content to the wiki.