From 831dc6a1810df6c42bb0c7127c6c3f586a1cb093 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 26 Dec 2024 15:14:35 +0900 Subject: [PATCH] dist: create checksum in dist directory This makes verification easier. Signed-off-by: Ophestra --- dist/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/release.sh b/dist/release.sh index 5102f48..861ae19 100755 --- a/dist/release.sh +++ b/dist/release.sh @@ -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" \ No newline at end of file +(cd dist && sha512sum "${pname}.tar.gz" > "${pname}.tar.gz.sha512") \ No newline at end of file