Commit 8e8ce6c3 authored by Miek Gieben's avatar Miek Gieben Committed by GitHub

core: check for gh-release (#1079)

Stop when this can't be found early on.

Fixes #1053
parent ae9cae67
...@@ -39,6 +39,10 @@ ...@@ -39,6 +39,10 @@
# #
# Docker push should happen after you make the new release and uploaded it to Github. # 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 NAME:=coredns
VERSION:=$(shell grep 'coreVersion' coremain/version.go | awk '{ print $$3 }' | tr -d '"') VERSION:=$(shell grep 'coreVersion' coremain/version.go | awk '{ print $$3 }' | tr -d '"')
ARCH:=$(shell uname -m) ARCH:=$(shell uname -m)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment