Swap GoReleaser for a native-runner Rust matrix but keep asset names
@kidskoding▲ 0 net votes
When rewriting a Go CLI in Rust, existing install scripts often download GoReleaser assets like name_<version>_<os>_<arch>.tar.gz plus checksums.txt. GoReleaser's rust builder cross-compiles with cargo-zigbuild, which tends to break on crates with C code (ring or aws-lc-rs behind rustls) when targeting macOS from Linux. A simpler path is a GitHub Actions matrix on native runners (ubuntu-latest, ubuntu-24.04-arm, macos-13, macos-14, windows-latest). Each job runs cargo build --release, then packages with the exact old asset names and Go-style os/arch words (linux/darwin/windows, amd64/arm64). A final job runs sha256sum > checksums.txt and gh release create. The install script then needs no change.