Commit 95622f4c authored by Miek Gieben's avatar Miek Gieben Committed by GitHub

release (#4414)

* Remove draft draft from notes, and prepare to release
Signed-off-by: default avatarMiek Gieben <miek@miek.nl>

* fix time
Signed-off-by: default avatarMiek Gieben <miek@miek.nl>

* remove draft=true
Signed-off-by: default avatarMiek 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: default avatarMiek Gieben <miek@miek.nl>

* Check for manifest-tool to be available; otherwise we tag a release and then fail
Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
parent 0a398f23
...@@ -47,6 +47,9 @@ COMMA:=$(EMPTY),$(EMPTY) ...@@ -47,6 +47,9 @@ COMMA:=$(EMPTY),$(EMPTY)
ifeq (, $(shell which curl)) ifeq (, $(shell which curl))
$(error "No curl in $$PATH, please install") $(error "No curl in $$PATH, please install")
endif endif
ifeq (, $(shell which manifest-tool))
$(error "No manifest-tool in $$PATH, please install")
endif
DOCKER:= DOCKER:=
NAME:=coredns NAME:=coredns
...@@ -60,14 +63,10 @@ PLATFORMS:=$(subst $(SPACE),$(COMMA),$(foreach arch,$(LINUX_ARCH),linux/$(arch)) ...@@ -60,14 +63,10 @@ PLATFORMS:=$(subst $(SPACE),$(COMMA),$(foreach arch,$(LINUX_ARCH),linux/$(arch))
all: all:
@echo Use the 'release' target to build a release, 'docker' for docker build. @echo Use the 'release' target to build a release, 'docker' for docker build.
release: pre build tar release: build tar
docker: docker-build docker: docker-build
.PHONY: pre
pre:
GO111MODULE=off go get github.com/estesp/manifest-tool
.PHONY: build .PHONY: build
build: build:
@echo Cleaning old builds @echo Cleaning old builds
......
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