-
Notifications
You must be signed in to change notification settings - Fork 0
Releasing
This page is a guide to releasing new versions of Oscar. It's documented as there are quite a few things to do.
These are the steps involved.
-
Pull updates from Transifex with:
tx pull -a
-
Update
.po
files for all locales with:make messages
-
Merge in any i18n pull requests
-
Update compiled message files and commit:
make compiledmessages
Build the CSS files from LESS using:
make css
We don't store the CSS files in git to avoid duplication problems. The Less files are the definitive source.
Check all settings are documented. Grab all used ones using:
ack -hor "OSCAR_\w+" oscar/ | sort | uniq
Update list of Oscar contributors.
Before pushing to PyPI:
-
Make sure the tests pass (obviously)
-
Ensure that any new migrations are correctly numbered (ie there are no apps with two migrations using the same number). You can view the migrations committed since a tag using:
git log --name-status 0.3.. | grep migration
-
Update the
CHANGELOG
with details of the new release, including any relevant upgrading notes
Push to PyPI:
./setup.py sdist upload
-
Tweet about it via @django_oscar
-
Email mailing list with link to release notes
-
Update readthedocs to use the new version as the latest (only relevant for major version bumps)
-
Update Google Drive stats
-
Update oscarcommerce.com
-
Clean up remote branches that are no longer needed. Delete with:
git push origin :branch-to-delete
Have a banana!