Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.04 KB

File metadata and controls

53 lines (37 loc) · 1.04 KB

Release

Table of contents

Step by step

To proceed a new release, please follow the steps below:

  1. Pre-requisites installation:

    1. Install git-flow: https://skoch.github.io/Git-Workflow/
    2. Install git-cliff:
    cargo install git-cliff
  2. 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
  3. Update the version X.Y.Z almost everywhere:

    bash .github/scripts/release.sh <old_version> <new_version>
  4. Commit the changes:

    git commit -m "build: release X.Y.Z"
    git push

    Make sure the CI pipeline is green.

  5. Finish the release with git-flow:

    git flow release finish X.Y.Z --push
  6. Do not forget to update GitHub CHANGELOG in https://github.com/Cosmian/kms/releases/tag/X.Y.Z (copy paste from CHANGELOG.md)