feat(packaging): automate Linux release upload, fill Homebrew hashes, bump to 0.4.1
Merged
UR
18d ago+175+175+012345678901234567890123456789-26-26-01234567890123456789
Release prep for v0.4.1, three small items only, no app code touched:
- Homebrew: real sha256 in `packaging/homebrew/iris-mail-stack.rb`, computed by streaming the v0.4.0 macOS tarballs from the release and hashing them (arm64 `0deca510...`, amd64 `f5268257...`). Formula version stays 0.4.0; updating it to 0.4.1 is a follow-up once the 0.4.1 tarballs are live.
- Linux release upload: new `.github/workflows/package-linux.yml` mirrors the macOS/Windows jobs (build on ubuntu-latest, VERSION-matches-tag check, create release if missing, `gh release upload --clobber`). It builds the .deb + tarball via `packaging/build.sh` (downloading Stalwart/Caddy first, same as build-macos.sh) and verifies them statically (dpkg-deb Version, tarball contents, one-liner version guard). No live install smoke test in CI: the .deb needs systemd + an interactive postinst, so install is proven by a real machine run.
- Version bump: `packaging/VERSION`, `packaging/scripts/install-one-liner.sh` and the versioned examples in `packaging/README.md` move 0.4.0 -> 0.4.1. Also updates the stale "(The Linux assets are still uploaded by hand.)" comments in the macOS/Windows workflows.
After merge, tag v0.4.1 from main: the macOS, Windows and (new) Linux release jobs all upload on the tag push.
Summary by CodeRabbit
- New Features
- Linux
.deband tarball packages are now built and published with tagged releases.
- Linux
- Documentation
- Packaging instructions and installer links now reference version 0.4.1 across Linux, macOS, and Windows.
- Homebrew package checksums have been updated for macOS downloads.