Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.15 KB

release-instructions.md

File metadata and controls

49 lines (34 loc) · 1.15 KB

Select a new semantic version for the release

Update Dockerfile

Update Dockerfile to use the selected tag.

nano Dockerfile

Push the new TAG

TAG=[new version number]
git commit --message="Bump version to $TAG in preparation of a release"
git push
git tag --annotate $TAG --message="Release $TAG"
git push --tags

Make a github release using the web interface

https://github.com/biolink/kgx/releases/new

Build Docker container

Build and push the Docker image for the new version of KGX.

First have a fresh clone of the KGX GitHub repository, and then build the Docker image:

git clone https://github.com/biolink/kgx
cd kgx
docker build --no-cache -f Dockerfile --tag biolink/kgx:latest .
docker build --no-cache -f Dockerfile --tag biolink/kgx:$TAG .

Once the image is built, be sure to push to Dockerhub:

docker push biolink/kgx:latest
docker push biolink/kgx:$TAG

Note: It is important to have a fresh clone of the repository to avoid unnecessary files being included in the new Docker image.

Release on PyPI

Will release based on the GitHub action in .github/workflows/pypi-release.yml