Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1014 Bytes

PACKAGING.md

File metadata and controls

17 lines (13 loc) · 1014 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
    3. Bump Debian package version in debian/rules to 1.0.0
  2. How to build Sonic, package it and release it on Crates, GitHub, Docker Hub and Packagecloud (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. Download all release archives, and sign them locally using: ./scripts/sign_binaries.sh --version=1.0.0
    4. Publish a changelog and upload all the built archives, as well as their signatures on the releases page on GitHub