From f6410c6fb9f0244ee1e71dc38304fe250a709d44 Mon Sep 17 00:00:00 2001 From: Justin McCarthy Date: Fri, 18 May 2018 11:38:13 -0700 Subject: [PATCH] restore dependencies for release target --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8f16e4d..823d321 100644 --- a/Makefile +++ b/Makefile @@ -108,11 +108,13 @@ release: release-env dist release-deps @echo "version $(VERSION)" @curl -L https://github.com/strongdm/comply/archive/$(VERSION).tar.gz |shasum -a 256 -patch-release: release-env #push-assets patch release +patch-release: release-env push-assets patch release $(eval VERSION := $(shell git describe --tags --always --dirty="-dev")) curl -X POST --data-urlencode 'payload={"channel": "#release", "username": "release", "text": "comply $(VERSION) released", "icon_emoji": ":shipit:"}' https://hooks.slack.com/services/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 minor-release: release-env push-assets minor release + $(eval VERSION := $(shell git describe --tags --always --dirty="-dev")) + curl -X POST --data-urlencode 'payload={"channel": "#release", "username": "release", "text": "comply $(VERSION) released", "icon_emoji": ":shipit:"}' https://hooks.slack.com/services/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 patch: clean gitsem gitsem -m "increment patch for release (via Makefile)" patch