1
0
mirror of https://github.com/strongdm/comply synced 2024-12-23 22:11:37 +00:00

capture sha

This commit is contained in:
Justin McCarthy 2018-05-18 16:43:56 -07:00
parent 2a4486315e
commit deeb8c1695
No known key found for this signature in database
GPG Key ID: 900437410E142A48

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