Back to Sonic

Packaging

PACKAGING.md

1.5.1939 B
Original Source

Packaging

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

We consider here the packaging flow of Sonic for Linux.

  1. How to bump Sonic version, build Sonic, package it and release it on Crates, GitHub, Docker Hub and Packagecloud (multiple architectures):
    1. Make sure CHANGELOG.md is up to date (changes should be in the “Unreleased” section).

    2. Install Task then task release -- major|minor|path, following Semantic Versioning.

      If you don’t want to install Task, you can run ./scripts/make_release.sh major|minor|path directly.

    3. Wait for all release jobs to complete on the actions page on GitHub.

    4. Publish a changelog and upload all the built archives on the releases page on GitHub.