Steps for releasing a version of tDAR

 

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

 

Â