- You must have commit rights to the SSHKit repository.
- You must have push rights for the sshkit gem on rubygems.org.
- You must be using Ruby >= 2.1.0.
- Run
bundle install
to make sure that you have all the gems necessary for testing and releasing. - Ensure the tests are passing by running
rake test
. If functional tests fail, ensure you have Docker installed and running. - Determine which would be the correct next version number according to semver.
- Update the version in
./lib/sshkit/version.rb
. - Commit the
version.rb
change with a message like "Preparing vX.Y.Z" - Run
rake release
; this will tag, push to GitHub, and publish to rubygems.org - Update the draft release on the GitHub releases page to point to the new tag and publish the release