Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Releases

Versions follow SemVer. While the version is 0.x, a minor version can change tool arguments.

How a release is made

main is protected, so a release goes through a pull request like any other change:

  1. After every merge to main, .github/workflows/release-pr.yml runs scripts/release-pr.sh. It picks the next version from the commits since the last tag (one per squash-merged pull request, titled as a Conventional Commit: feat: bumps the minor version, fix: and perf: the patch version, ! or BREAKING CHANGE the major version), sets it in Cargo.toml and Cargo.lock, adds the new section to CHANGELOG.md with git-cliff, and keeps the pull request chore(release): vX.Y.Z open with the release notes. Nothing is written by hand; the decision to publish is merging that pull request.

  2. When the pull request is merged, .github/workflows/release.yml builds the archives for Linux (x86_64, aarch64), macOS (Apple silicon, Intel) and Windows (x86_64), writes SHA256SUMS, and publishes the GitHub release vX.Y.Z with the notes from the changelog.

A failed release can be retried with Actions > Release > Run workflow: it releases the version in Cargo.toml if that tag does not exist yet.

What a release contains

Each archive holds the server binary, the Lua bridge (lua/), the install scripts (scripts/), README.md, CHANGELOG.md and LICENSE. The one-line installers download the archive for the platform and check it against SHA256SUMS.