We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 628efa8 commit 6f527cbCopy full SHA for 6f527cb
Makefile
@@ -25,7 +25,7 @@ HAS_GO = $(shell hash $(GO) > /dev/null 2>&1 && echo "GO" || echo "NOGO" )
25
COMMA := ,
26
27
XGO_VERSION := go-1.16.x
28
-MIN_GO_VERSION := 001014000
+MIN_GO_VERSION := 001016000
29
MIN_NODE_VERSION := 012017000
30
31
DOCKER_IMAGE ?= gitea/gitea
@@ -200,7 +200,7 @@ help:
200
go-check:
201
$(eval GO_VERSION := $(shell printf "%03d%03d%03d" $(shell $(GO) version | grep -Eo '[0-9]+\.[0-9.]+' | tr '.' ' ');))
202
@if [ "$(GO_VERSION)" -lt "$(MIN_GO_VERSION)" ]; then \
203
- echo "Gitea requires Go 1.14 or greater to build. You can get it at https://golang.org/dl/"; \
+ echo "Gitea requires Go 1.16 or greater to build. You can get it at https://golang.org/dl/"; \
204
exit 1; \
205
fi
206
0 commit comments