summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authoruli-heller <uli.heller@daemons-point.com>2021-02-08 16:16:53 +0100
committerGitHub <noreply@github.com>2021-02-08 10:16:53 -0500
commit758627cf8f3f32681bf792b3a6b9f74572210d89 (patch)
tree6821a8222d651b9a9525b80668bbce024279e0b1 /Makefile
parent378acc9d966554299e4a7dbe15e6e41026963653 (diff)
downloadgitea-758627cf8f3f32681bf792b3a6b9f74572210d89.tar.gz
gitea-758627cf8f3f32681bf792b3a6b9f74572210d89.zip
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e044ed09f2..7dd7464acb 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