Skip to content
Sean Cribbs edited this page Jan 13, 2015 · 6 revisions
  1. Open RELEASE_NOTES.md and summarize the changes made since the last release (hopefully better than the individual commit messages). The history can be grabbed with a simple git command (assuming the last version was 1.3.0:
$ git log v1.3.0..HEAD
  1. Edit the version in lib/webmachine/version.rb.
  2. Commit both files (commit message is just a suggestion).
$ git add RELEASE_NOTES.md lib/webmachine/version.rb
$ git commit -m "Version 1.3.1"
  1. Tag the release, preferably using a signed annotation.
$ git tag -a -s -u $GPGKEY -m "Version 1.3.1" v1.3.1
  1. Push the commit and tag.
$ git push origin; git push origin --tags
  1. If this is a new major or minor release, push a new stable branch, otherwise merge the commit into the stable branch (or master, depending on where you made the commit).
$ git push origin HEAD:1.3-stable
# or
$ git checkout 1.3-stable; git merge master; git push origin
  1. Build the gem. Looking at the output, ensure no transient artifacts (bundler gems, etc) are included.
$ bundle exec rake clobber_package gem
  1. Release the gem.
$ bundle exec rake release
  1. YOU'RE DONE!

Clone this wiki locally