From 34ee428a22d0bc1822d10172c83eeef30b945654 Mon Sep 17 00:00:00 2001
From: Christoph Witzko <github@christophwitzko.com>
Date: Mon, 17 Aug 2020 14:15:13 +0200
Subject: [PATCH] feat: add checksums.txt to every release

---
 scripts/release | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/release b/scripts/release
index c6b9492..923f3e3 100755
--- a/scripts/release
+++ b/scripts/release
@@ -9,6 +9,7 @@ export VERSION=$(cat .version)
 
 gox -parallel 4 -osarch="linux/amd64 darwin/amd64 linux/arm windows/amd64" -ldflags="-extldflags '-static' -s -w -X main.SRVERSION=$VERSION" -output="bin/{{.Dir}}_v"$VERSION"_{{.OS}}_{{.Arch}}" ./cmd/semantic-release/
 
+cd bin/ && shasum -a 256 * > ./semantic-release_v${VERSION}_checksums.txt && cd -
 ghr $(cat .ghr) bin/
 
 # docker build
-- 
GitLab