-
Notifications
You must be signed in to change notification settings - Fork 19
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
- Merge the final PRs which will go into the release into
main
- Create a new branch titled
release/<version number>
: for examplerelease/0.1
(with onlyrelease/major.minor
numbers in the string). - Go to the releases page and click "create a new release" (or directly go to the new release url)
- Title the release
v<release number>
, e.g.v0.1.0
- 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 addExcellent! This tag will be created from the target when you publish this release.
- 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)
- 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