Steps for releasing a version of tDAR
Â
- In Mercurial:
- update to the latest version of stable
- merge default into stable
- tag the release
- diff stable and default and ensure there are no differences
- Shut-down tomcat
- Database:
- Create a database backup
- Run the upgrade-db.sql script
- Create another database backup
- Run any manual tasks that need to happen specific to this release
- run the deploy-production.sh script
- test
- If needed, reindex
- Run any manual tasks that need to happen specific to this release
- Post-Release Cleanup:
- In JIRA:
- Â mark the date of the release
- close all resolved tickets releated to the release (don't email users)
- make sure the next release is defined in JIRA
- In google analytics, tag the date as a release
- In mercurial:
- rebuild the init-db.sql with the upgrade-db.sql  of the previous release
- rename the upgrade-db.sql to upgrade-db-<release-name>-commit#.sql
- create a new upgrade-db.sql
- Make a blog post for the release with the notes and link it to the dashboard
- In JIRA:
Â
Â