- You must have commit rights to the Capistrano repository.
- You must have push rights for the capistrano gem on rubygems.org.
- Run
bundle install
to make sure that you have all the gems necessary for testing and releasing. - Ensure all tests are passing by running
rake spec
andrake features
. - Determine which would be the correct next version number according to semver.
- Update the version in
./lib/capistrano/version.rb
. - Update the version in the
./README.md
Gemfile example (gem "capistrano", "~> X.Y"
). - Update the
CHANGELOG
. - Commit the changelog and version in a single commit, the message should be "Preparing vX.Y.Z"
- Run
rake release
; this will tag, push to GitHub, and publish to rubygems.org.