aboutsummaryrefslogtreecommitdiff
path: root/Makefile.release
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2021-01-20 15:58:46 +0100
committerGravatar GitHub <noreply@github.com> 2021-01-20 15:58:46 +0100
commit95622f4c9ae65de9465b5fb022711e95be4df2ce (patch)
tree9bfb05eece56e0f7a59edfd132ead77af7e08c1b /Makefile.release
parent0a398f233a9a0630bac72e57634018d65b1520be (diff)
downloadcoredns-95622f4c9ae65de9465b5fb022711e95be4df2ce.tar.gz
coredns-95622f4c9ae65de9465b5fb022711e95be4df2ce.tar.zst
coredns-95622f4c9ae65de9465b5fb022711e95be4df2ce.zip
release (#4414)v1.8.1
* Remove draft draft from notes, and prepare to release Signed-off-by: Miek Gieben <miek@miek.nl> * fix time Signed-off-by: Miek Gieben <miek@miek.nl> * remove draft=true Signed-off-by: Miek Gieben <miek@miek.nl> * Remove manifest-tool installation This doesn't install cleanly anymore. I've installed manifest-tool in /usr/bin on the releaser machine; use that instead of building our own each time. Signed-off-by: Miek Gieben <miek@miek.nl> * Check for manifest-tool to be available; otherwise we tag a release and then fail Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'Makefile.release')
-rw-r--r--Makefile.release9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile.release b/Makefile.release
index 6d863e211..129b0da17 100644
--- a/Makefile.release
+++ b/Makefile.release
@@ -47,6 +47,9 @@ COMMA:=$(EMPTY),$(EMPTY)
ifeq (, $(shell which curl))
$(error "No curl in $$PATH, please install")
endif
+ifeq (, $(shell which manifest-tool))
+ $(error "No manifest-tool in $$PATH, please install")
+endif
DOCKER:=
NAME:=coredns
@@ -60,14 +63,10 @@ PLATFORMS:=$(subst $(SPACE),$(COMMA),$(foreach arch,$(LINUX_ARCH),linux/$(arch))
all:
@echo Use the 'release' target to build a release, 'docker' for docker build.
-release: pre build tar
+release: build tar
docker: docker-build
-.PHONY: pre
-pre:
- GO111MODULE=off go get github.com/estesp/manifest-tool
-
.PHONY: build
build:
@echo Cleaning old builds