From 48eb8e5c8e15d17789a87cfdd7a3547cf3468ced Mon Sep 17 00:00:00 2001 From: Matt Robinson Date: Wed, 17 Oct 2018 14:21:18 -0400 Subject: [PATCH] sign windows builds (#494) --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index af199ccce..6b82ef172 100644 --- a/Makefile +++ b/Makefile @@ -123,6 +123,7 @@ binary: -o app storj.io/storj/cmd/${COMPONENT} \ | tar -O -x ./app > release/${TAG}/$(COMPONENT)_${GOOS}_${GOARCH}${FILEEXT} chmod 755 release/${TAG}/$(COMPONENT)_${GOOS}_${GOARCH}${FILEEXT} + [ "${FILEEXT}" = ".exe" ] && storj-sign release/${TAG}/$(COMPONENT)_${GOOS}_${GOARCH}${FILEEXT} || echo "Skipping signing" rm -f release/${TAG}/${COMPONENT}_${GOOS}_${GOARCH}.zip cd release/${TAG}; zip ${COMPONENT}_${GOOS}_${GOARCH}.zip ${COMPONENT}_${GOOS}_${GOARCH}${FILEEXT} rm -f release/${TAG}/${COMPONENT}_${GOOS}_${GOARCH}${FILEEXT}