Skip to content

Notes about Mondo release process

Nicole Vasilevsky edited this page Jan 15, 2021 · 4 revisions

Release Workflow:

  1. In terminal: docker pull obolibrary/odkfull
  2. Pull master
  3. In terminal: cd git/mondo/src/ontology/
  4. In terminal: sh run.sh make all -B
  5. When this is finished, open mondo.owl and mondo.obo and check the latest changes are there and it looks reasonable
  6. In terminal:
    1. cp ~/.token .token
    2. sh run.sh make GHVERSION=vYYYY-MM-DD deploy_release
    3. Note- the date should be the date of the release in the format sh run.sh make GHVERSION=vYYYY-MM-DD deploy_release (for example, v2020-08-10)
    4. Very important: It should not necessarily be today, it is the day the release artifacts were created according to the IRIs. In order to find the right date, open mondo-base.obo and check version IRI, and use this date
  7. Check these two release pages (make sure you replace the data correctly in the first link):
    1. https://github.com/monarch-initiative/mondo/releases/tag/v2020-XX-XX
    2. https://github.com/monarch-initiative/mondo/releases/tag/current
    3. Both should: Ensure on both that it says your username (e.g. nicolevasilevsky) released this 1 days ago or now
    4. Ensure that both have all release artefacts attached to it (normal, base and minimal, 9 in total)

Generate Change Log Workflow:

  1. Download the latest mondo.obo from GitHub (https://github.com/monarch-initiative/mondo/releases) and save under /ontology folder (do not commit later)
  2. Download the previous mondo.obo and save as mondo-lastbuild.obo
  3. Run make mondo-diff.txt
  4. ./get-new-classes.sh1 > somefilename.txt
    1. For example: ./get-new-classes.sh > MondoRelease_2020-09-12.txt
  5. Open this file on my computer: MondoRelease_2020-09-09.txt (add the correct date)

Commit release files:

  1. Commit all of the changed import and report files (ignore or discard diff files, change log)
  2. Email the Mondo users list with a cat or pet picture
  3. Copy the change log into the changes.md file: https://github.com/monarch-initiative/mondo/blob/master/Changes.md