1
0
mirror of https://github.com/strongdm/comply synced 2025-12-06 14:24:12 +00:00

capture sha

This commit is contained in:
Justin McCarthy
2018-05-18 16:43:56 -07:00
parent 2a4486315e
commit deeb8c1695

View File

@@ -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"))