From 8e8ce6c3e15e15ce967993d6cb0015aa70232cac Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Fri, 15 Sep 2017 09:56:20 +0100 Subject: [PATCH] core: check for gh-release (#1079) Stop when this can't be found early on. Fixes #1053 --- Makefile.release | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.release b/Makefile.release index 8ad24c8ef..e3a8e22e6 100644 --- a/Makefile.release +++ b/Makefile.release @@ -39,6 +39,10 @@ # # Docker push should happen after you make the new release and uploaded it to Github. +ifeq (, $(shell which gh-release)) + $(error "No gh-release in $$PATH, install with `go get progrium/gh-release`") +endif + NAME:=coredns VERSION:=$(shell grep 'coreVersion' coremain/version.go | awk '{ print $$3 }' | tr -d '"') ARCH:=$(shell uname -m)