Skip to content

Release procedure

Scott Staniewicz edited this page Mar 31, 2023 · 6 revisions

We are using setuptools_scm to automate the versioning of dolphin using Git tags. Annotated tags (those which create a commit) can be made from the command line, which was done pre v0.1. Github also lets you make one when you create a release here: https://github.com/opera-adt/dolphin/releases . Note that this project uses semantic versioning

Release procedure

  1. Merge the final PRs which will go into the release into main
  2. Create a new branch titled release/<version number>: for example release/0.1 (with only release/major.minor numbers in the string).
  3. Go to the releases page and click "create a new release" (or directly go to the new release url)
  4. Title the release v<release number>, e.g. v0.1.0
  5. On the "Choose a tag" option, type v0.1.0 and (assuming that the Git tag has not already been created), click "create a new tag" which should add Excellent! This tag will be created from the target when you publish this release. image
  6. Write notes for the release, which can be assisted using the CHANGELOG.md file. The changelog has summaries of changes following https://keepachangelog.com/en/1.1.0/ , and should have an "Unreleased" section at the top (if it hasn't already been converted to the new version number)
  7. Click "Publish release" to create the tagged release.

When you run pip install -e . in the repo after pulling down the new changes, you should have the new version installed when you run dolphin --version

Clone this wiki locally