core: check for gh-release (#1079)
Stop when this can't be found early on. Fixes #1053
This commit is contained in:
parent
ae9cae67e3
commit
8e8ce6c3e1
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue