Replace zip with tar.gz for binary release artifacts
Our per-platform binary release artifacts (e.g. miren-linux-amd64.zip) use zip format, requiring unzip on the target system. Many minimal Linux distributions don't include unzip by default, making it an unnecessary dependency. tar is effectively universal on both Linux and macOS.
The server release download path (cli/commands/download_release.go) already uses tar.gz for the base release tarball — this would make the binary artifacts consistent.
Scope
runtime repo:
hack/build-release.sh— switch fromzip -jtotar -czffor creating per-platform archives.github/workflows/release.yml— produce.tar.gzartifacts instead of.zip; macOS notarization step uses zip transiently (that's fine, it's CI-internal)pkg/release/artifact.go— change artifact filenames from.zipto.tar.gzpkg/release/downloader.go— replace zip extraction with tar.gz extraction (can reuse existingextractTarGzfromdownload_release.go)cli/commands/upgrade.go— update references to.zipartifactspkg/release/artifact_test.go,pkg/release/metadata_test.go— update test expectationshack/systemd/Dockerfile.systemd— removeunzipfrom installed packages
cloud repo:
services/installer/install.sh— switch download URLs from.zipto.tar.gz, replaceunzipextraction withtar xzf, removeunzipfrom required tool checks
Notes
- Cloud asset storage is path-based so new
.tar.gzfilenames will just work once uploaded - Need a transition plan if older clients expect
.zip— could serve both formats briefly, or coordinate with a client version bump