From 4747e8fdc33828189432d2a919b5e23a81fe2478 Mon Sep 17 00:00:00 2001 From: iwilltry42 Date: Thu, 25 Jul 2019 15:40:17 +0200 Subject: [PATCH] add warning message for debugging tag issue --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 76dc0315..1374d483 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ GIT_TAG := $(shell git describe --always) endif # get latest k3s version -K3S_TAG := $(shell curl --silent "https://api.github.com/repos/rancher/k3s/releases/lates" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') +K3S_TAG := $(shell curl --silent "https://api.github.com/repos/rancher/k3s/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') ifeq ($(K3S_TAG),) $(warning K3S_TAG undefined: couldn't get latest k3s image tag!) $(warning Output of curl: $(shell curl --silent "https://api.github.com/repos/rancher/k3s/releases/latest"))