forked from spree/spree
-
Notifications
You must be signed in to change notification settings - Fork 1
Release Procedure
Ryan Bigg edited this page Nov 19, 2013
·
26 revisions
This document will eventually detail the full release procedure for Spree.
- All deprecations in the previous release (i.e. things marked with a deprecation warning) are now removable. Ensure that this has happened.
- Check if TODOs can become TODONEs.
- Anything that should be deprecated by the next release should be marked with a deprecation warning now. Nothing that people rely on should ever be removed in a patch or minor release without a deprecation warning.
- ALL BUILDS ARE GREEN.
- Update the Getting Started guide to specify correct version of Rails.
- Update all CHANGELOG files
- Update README with correct branches + Rails versions
- Update version number in generation message in the following files:
SPREE_VERSION
cmd/lib/spree_cmd/extension.rb
core/lib/spree/core/version.rb
- Update installer.rb: Ensure spree_auth_devise is updated with a new stable branch if releasing a new minor version.
- Ditto for
extension.rb
. - Ensure spree_gateway is ditto ^
- Point places in Spree reference spree_auth_devise to new stable branch.
bundle exec rake gem:install
-
gem list spree
to verify all the components were built - Verify local build with new rails app: Run through a checkout and smoke test it. Click around.
- Tag git repository
- (for example:
git tag v2.0.1
)
- (for example:
- Update version number in the files above to next version.beta (2.0.2.beta) -- DO NOT TAG
- Checkout the tag commit
git checkout gitref
- Generate a brand new Rails application, run
rails g spree:install
and vet that it's OK. - Ditto, but run
spree install --auto-accept
. bundle exec rake gem:release
- Tag and deploy new versions of the guides
- Update alerts.spreecommerce.com
- Update #spree channel topic
- Add a product to the cart.
- Run through the checkout with a check payment.
- Repeat for a different product with a credit card payment.
- Sign in to the admin backend and click through.