Releasing Antiphon¶
The whole distribution story hangs off git tags on the canonical repository; versions are never written anywhere else.
Cutting a release¶
- Gate green on master, then tag and push:
git tag -s v1.0.0 -m "..." && git push origin v1.0.0. .builds/release.ymlfires on the tag: it builds release binaries--locked, packagesantiphon-<tag>-x86_64-linux-gnu.tar.gz(binaries, service units, licence, README) with a sha256 sidecar, and uploads both as tag artefacts on git.sr.ht via the job'sgit.sr.ht/OBJECTS:RWgrant. There is no aarch64 tarball for now; see the note at the foot of this page.- Update the AUR package: follow
dist/aur/README.mdin the source tree to bumppkgver, runupdpkgsumsagainst the real tag archive, and pushPKGBUILD/.SRCINFOto the AUR git repository. - Update the Homebrew tap
(
https://git.sr.ht/~donquinleone/homebrew-antiphon): the formula points at the tag archive (.../archive/<tag>.tar.gz) and carries its sha256, depends on notmuch and a Rust build, and names gnupg in a caveat (OpenPGP is opt-in, so it is not a hard dependency). The formula's version and checksum are stamped from the tag at release time, never written ahead of it.antiphon-giton the AUR tracks master and needs no release-time attention.
The one-command installer¶
dist/install.sh is served live at
https://antiphon.net/install.sh (the apex points at
SourceHut pages alongside the landing page; the docs live at
docs.antiphon.net). It climbs a ladder and stops at the
first rung that fits the machine:
- macOS: the tap and
brew install antiphon. - Arch: an AUR helper (
paru, thenyay); with neither present it prints the manualmakepkgroute and falls through. - Any Linux with nix:
nix profile installfrom the flake. - x86_64 Linux: the latest tag's verified tarball into
${XDG_BIN_HOME:-~/.local/bin}. - Last resort:
cargo install --lockedfrom the repository, with named dependencies if cargo is absent.
The site repository carries a byte-identical copy at its root; keep the two in step when the script changes.
aarch64 artefacts¶
The build fleet currently refuses to boot any arm image ("not available for arch"), so there is no prebuilt aarch64 tarball yet; arm users build natively through the AUR packages, the Nix flake or cargo. Revisit with sr.ht support before promising an arm tarball anywhere.