mirror of
https://github.com/coredns/coredns.git
synced 2025-10-14 17:01:11 +02:00
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
@ -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…
x
Reference in New Issue
Block a user