From 758627cf8f3f32681bf792b3a6b9f74572210d89 Mon Sep 17 00:00:00 2001 From: uli-heller Date: Mon, 8 Feb 2021 16:16:53 +0100 Subject: [PATCH] Fixed irritating error message related to go version (#14611) I do have go-1.13.8 installed and get the error message ``` Gitea requires Go 1.13 or greater to build. You can get it at https://golang.org/dl/ ``` I do thing that Go 1.14 or greater is actually required --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e044ed09f..7dd7464ac 100644 --- a/Makefile +++ b/Makefile @@ -190,7 +190,7 @@ help: go-check: $(eval GO_VERSION := $(shell printf "%03d%03d%03d" $(shell $(GO) version | grep -Eo '[0-9]+\.[0-9.]+' | tr '.' ' ');)) @if [ "$(GO_VERSION)" -lt "$(MIN_GO_VERSION)" ]; then \ - echo "Gitea requires Go 1.13 or greater to build. You can get it at https://golang.org/dl/"; \ + echo "Gitea requires Go 1.14 or greater to build. You can get it at https://golang.org/dl/"; \ exit 1; \ fi