Tags: hoophq/hsh
Tags
fix(build): pass archive list to sha256sum as array, not joined string
Bun's `$` treats every interpolation as a single literal argument (its
command-injection guard), so `${TARGETS.map(...).join(" ")}` was handed
to sha256sum as ONE filename containing spaces — which doesn't exist,
failing the release after all 6 archives had already built.
Pass the array directly so `$` expands it to separate arguments, and
use .cwd(DIST) + Bun.write so the manifest lists bare archive names
(hsh-linux-x64.tar.gz, …) the way brew and RD-220 expect. Verified
end-to-end locally: all 6 archives build and `sha256sum -c SHA256SUMS`
passes.
🤖 Generated with Mister Maluco
Co-Authored-By: MisterMal <teskeslab@lucasteske.dev>