From 14bde98a9f7c28ec57c6b466c564ae951bfdfd70 Mon Sep 17 00:00:00 2001 From: Justin McCarthy Date: Fri, 18 May 2018 11:36:34 -0700 Subject: [PATCH] release webhook --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 97166d8..8f16e4d 100644 --- a/Makefile +++ b/Makefile @@ -107,7 +107,10 @@ release: release-env dist release-deps @echo "Update homebrew formula with the following: " @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