dist: create checksum in dist directory
This makes verification easier. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
c67b8ab9ac
commit
831dc6a181
2
dist/release.sh
vendored
2
dist/release.sh
vendored
@ -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")
|
Loading…
Reference in New Issue
Block a user