midnight-saci

Releases

This page is for maintainers. GitHub Actions publishes Saci in two ways: stable releases and rolling early-access builds. Both use .github/workflows/publish.yml and publish the same things:

The Linux binaries link the glibc of Ubuntu 24.04. ripwire is only in the image.

Requirements

Make a stable release

  1. Set version in [workspace.package] of Cargo.toml to the release version, for example 0.1.0. Run cargo check so Cargo.lock agrees, and merge the change.
  2. Make sure that CI passed on the commit to release. The release workflow does not run the tests again.
  3. Push a bare version tag on that commit:

    git tag 0.1.0
    git push origin 0.1.0
    

The release workflow starts. It stops when the tag is not equal to the workspace version. It pushes the image tag <version> and creates the release <version>, marked as the latest release.

To release without a tag push, start the release workflow from the Actions tab and enter the version. The workflow creates the tag on the head of the selected branch.

After the release, set the workspace version to the next version.

Make an early-access build

Start the early-access workflow from the Actions tab on the branch to build, usually main. The workflow reads the workspace version and:

Early-access builds are prereleases. They are never marked as the latest release.

Dependency updates

Dependabot (.github/dependabot.yml) opens pull requests every week for:

CI runs on each of these pull requests like on any other pull request.

Next steps