Skip to content

How to release Cypht

Ngesera Steven edited this page Sep 17, 2024 · 20 revisions

This page is to document the steps to generate a Cypht release.

For Cypht 2.x and later, please see: https://github.com/cypht-org/cypht/pull/1182#issuecomment-2304816283

Scripts to evaluate:

Steps for 1.4.x:

Important URLs for Cypht 1.4.0:

Should we continue to use?

Manually releasing a docker image

Until Docker tagging is automated, this is now you manually push a new version. In this example I am releasing v2.1.0

Make sure your account has permissions in the dockerhub cypht org.

Pull down the new tag in git

git pull git checkout v2.1.0

Build and push

make docker-push tag=2.1.0

Check that the tag was pushed: https://hub.docker.com/r/cypht/cypht/tags

Update the example production compose file:

git checkout master

Update docker/docker-compose.yml to say:

image: cypht/cypht:2.1.0

Create a PR for the change.

Smoke test it:

cd docker docker compose up

visit http://localhost

Updating readme in dockerhub

This is for the readme shown on the overview page here: https://hub.docker.com/r/cypht/cypht

Note: The readme is not tag specific. There is one readme for the whole dockerhub cypht/cypht repo. This is different then git where you can have a different readme for each branch. Plan accordingly.

Make the changes needed to docker/DOCKERHUB-README.md

Commit the changes in a PR.

Release the change:

make dockerhub-push-readme

Contribution Summary

if you need to summarize the key contributions and changes made between the releases in the Cypht repository, please visit: https://github.com/cypht-org/cypht/wiki/Contribution-Summary:-Changes-Between-versions