To proceed a new release, please follow the steps below:
-
Pre-requisites installation:
- Install git-flow: https://skoch.github.io/Git-Workflow/
- Install git-cliff:
cargo install git-cliff
-
Create new release branch with git-flow:
git checkout main git pull git checkout develop git pull git flow init git flow release start X.Y.Z
-
Update the version X.Y.Z almost everywhere:
bash .github/scripts/release.sh <old_version> <new_version>
-
Commit the changes:
git commit -m "build: release X.Y.Z" git pushMake sure the CI pipeline is green.
-
Finish the release with git-flow:
git flow release finish X.Y.Z --push
-
Do not forget to update GitHub CHANGELOG in https://github.com/Cosmian/kms/releases/tag/X.Y.Z (copy paste from CHANGELOG.md)