mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 10:13:14 -04:00 
			
		
		
		
	core: check for gh-release (#1079)
Stop when this can't be found early on. Fixes #1053
This commit is contained in:
		| @@ -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) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user