mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Also add a step to the RELEASING document so that we are less likely to forget this in the future.
818 B
818 B
Releasing
Prerequisites
- You must have commit rights to the Capistrano repository.
- You must have push rights for the capistrano gem on rubygems.org.
How to release
- Run
bundle installto make sure that you have all the gems necessary for testing and releasing. - Ensure all tests are passing by running
rake specandrake 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.mdGemfile 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.