Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.05 KB

RELEASE.md

File metadata and controls

27 lines (20 loc) · 1.05 KB

Release

Keeping releases consistent is important so here are the steps to follow when pushing a new version.

  1. Bump lib/versioncake/version.rb to the next major.minor version
  2. Make sure all tests are passing bundle && bundle exec rake && bundle exec rake appraisal spec
  3. Smoke test in 350-rest-api-versioning/store-after-versioncake

Verify:

  • latest version works
  • getting old version works
  • config flags
  • rails versions
  1. Make sure CHANGELOG is up to date
  2. Commit changes git commit -am "bumping to vX.X"

Changes committed:

  • Gemfile.lock && gemfiles/*.lock
  • version.rb
  1. Push to github git push origin/master

  2. Tag the version git tag -a vX.X -m 'Version X.X Stable' && git push --tags

  3. Build the gem gem build versioncake.gemspec

  4. Push the gem to ruby gems gem push versioncake-X.X.X.gem

  5. Remove the built gem locally rm versioncake-X.X.X.gem