-
Notifications
You must be signed in to change notification settings - Fork 2
Release checklist
Hanne Moa edited this page Aug 20, 2020
·
4 revisions
- Ensure that the commit message of any commit that changes the database starts with "Migrate:". Rebase if necessary.
- If we have a commit with migrate, migrate the change to the devfixtures database and create new devfixtures with
manage.py dumpdata auth.Group easydmp_auth dmpt eestore --format json --indent 1 --natural-foreign --natural-primary > devfixtures.json
, then commit the devfixtures - Ensure we're on the master branch
- Make a new commit updating the version number, in
src/easydmp/__init__.py
andCHANGELOG.rst
. The commit message should be "Bump version to {version}". - Tag that commit with "v{version}" and add a brief summary of the changes as the tag message
- Push the code to the official repo
- Update the deployment repo(s) (currently only kubernetes) to use the new code, via the version-number, and commit as per the rules of that repo, push.
- After the push, if any of the commits in the new release starts with "Migrate:", run the migration on the production database
- After the migration, wait for staging to be up (check!), then activate the final push to production