From deeb8c1695e1531977bbaa6f2b51447c89e5e32d Mon Sep 17 00:00:00 2001 From: Justin McCarthy Date: Fri, 18 May 2018 16:43:56 -0700 Subject: [PATCH] capture sha --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 823d321..2071167 100644 --- a/Makefile +++ b/Makefile @@ -105,8 +105,9 @@ release: release-env dist release-deps --file dist/comply-$(VERSION)-linux-amd64.tgz @echo "Update homebrew formula with the following: " - @echo "version $(VERSION)" - @curl -L https://github.com/strongdm/comply/archive/$(VERSION).tar.gz |shasum -a 256 + $(eval SHA := $(shell curl -s -L https://github.com/strongdm/comply/archive/$(VERSION).tar.gz |shasum -a 256)) + @echo "version $(VERSION) sha $(SHA)" + patch-release: release-env push-assets patch release $(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))