dist: create checksum in dist directory
All checks were successful
Tests / Go tests (push) Successful in 35s
Nix / NixOS tests (push) Successful in 3m38s

This makes verification easier.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
Ophestra 2024-12-26 15:14:35 +09:00
parent c67b8ab9ac
commit 831dc6a181
Signed by: cat
SSH Key Fingerprint: SHA256:gQ67O0enBZ7UdZypgtspB2FDM1g3GVw8nX0XSdcFw8Q

2
dist/release.sh vendored
View File

@ -17,4 +17,4 @@ go build -v -o "${out}/bin/" -ldflags "-s -w
rm -f "./${out}.tar.gz" && tar -C dist -czf "${out}.tar.gz" "${pname}"
rm -rf "./${out}"
sha512sum "${out}.tar.gz" > "${out}.tar.gz.sha512"
(cd dist && sha512sum "${pname}.tar.gz" > "${pname}.tar.gz.sha512")