Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.2 KB

RELEASE.md

File metadata and controls

61 lines (42 loc) · 1.2 KB

Release

Table of contents

Step by step

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

  1. Install git-flow: https://skoch.github.io/Git-Workflow/

  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. Install git-cliff to update automatically the CHANGELOG.md.

    cargo install git-cliff
    git cliff -p CHANGELOG.md -u -t X.Y.Z

    Update the links of pull requests. For example, replace (#349) by (#349).

  4. Update the version X.Y.Z almost everywhere:

    • Update in Cargo.toml
    • In Dockerfile and Dockerfile.fips
    • In README.md
    • In documentation folder

    Except:

    • Cargo.lock
    • CHANGELOG.md
  5. Update the Cargo.lock file and commit

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

    Make sure the CI pipeline is green.

  6. Finish the release with git-flow:

    git flow release finish X.Y.Z --push