Keeping releases consistent is important so here are the steps to follow when pushing a new version.
- Bump lib/versioncake/version.rb to the next major.minor version
- Make sure all tests are passing
bundle && bundle exec rake && bundle exec rake appraisal spec
- Smoke test in 350-rest-api-versioning/store-after-versioncake
Verify:
- latest version works
- getting old version works
- config flags
- rails versions
- Make sure CHANGELOG is up to date
- Commit changes
git commit -am "bumping to vX.X"
Changes committed:
- Gemfile.lock && gemfiles/*.lock
- version.rb
-
Push to github
git push origin/master
-
Tag the version
git tag -a vX.X -m 'Version X.X Stable' && git push --tags
-
Build the gem
gem build versioncake.gemspec
-
Push the gem to ruby gems
gem push versioncake-X.X.X.gem
-
Remove the built gem locally
rm versioncake-X.X.X.gem