Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 854 Bytes

PACKAGING.md

File metadata and controls

18 lines (13 loc) · 854 Bytes

Packaging

This file contains quick reminders and notes on how to package Sonic.

We consider here the packaging flow of Sonic version 1.0.0 for Linux.

  1. How to bump Sonic version before a release:

    1. Bump version in Cargo.toml to 1.0.0
    2. Execute cargo update to bump Cargo.lock
  2. How to update Sonic on Crates:

    1. Publish package on Crates: cargo publish --no-verify
  3. How to build Sonic, package it and release it on GitHub and Docker Hub (multiple architectures):

    1. Tag the latest Git commit corresponding to the release with tag v1.0.0, and push the tag
    2. Wait for all release jobs to complete on the actions page on GitHub
    3. Publish a changelog on the releases page on GitHub