-
Notifications
You must be signed in to change notification settings - Fork 240
Toil Release Instructions
-
Create a fresh clone and create branch
releases/1.2.x
:git clone https://github.com/Databiosphere/toil.git git checkout -b releases/1.2.x git push origin releases/1.2.x
-
In a direct commit/push to
master
, bump project version from1.2.0a1
to1.3.0a1
inversion_template.py
. -
In a direct commit/push to
releases/1.2.x
, bump project version from1.2.0a1
to1.2.0
inversion_template.py
. -
Build the updated branch from a fresh clone:
git clone https://github.com/Databiosphere/toil.git git checkout releases/1.2.x virtualenv --system-site-packages -p python3.9 --never-download venv . venv/bin/activate make prepare make develop extras=[all] # (must be the same as the extras in Dockerfile.py)
-
Once the tests in step 2 finish, tag the HEAD commit on the
releases/1.2.x
branch asreleases/1.2.0
and push that tag:git tag -a 'releases/1.2.0' -m 'release 1.2.0' git push origin releases/1.2.0
-
On GitHub create a release pointing to this tag. Include release notes giving an overview of bug fixes and new features in this release. Use the number of commits to
master
since the last release to see the changes. Note contributors. -
CI/CD will create and upload the appliance images to quay.io. This used to be done manually with
make push_docker
. -
Once the images are created (CI/CD appliance tests conclude), tag the images with
latest
and1.2.0
: https://quay.io/repository/ucsc_cgl/toil?tab=tags. -
PyPI - WARNING: This step cannot be redone! First make sure that the proper credentials are in
~/.pypirc
, then:rm -rf dist pip install pip --upgrade pip install setuptools wheel build twine --upgrade python -m build twine upload dist/*
-
In a direct edit to the
releases/1.2.x
branch on GitHub, bump project version from1.2.0
to1.2.1a1
inversion_template.py
. -
On http://readthedocs.org/projects/toil/, check to make sure that the latest docs built correctly.
-
Create a fresh clone and switch to the branch
releases/1.2.x
:git clone https://github.com/Databiosphere/toil.git git checkout releases/1.2.x
-
Do step #3 above and the following steps, using
1.2.1
, instead of1.2.0
.