summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2020-09-04 14:12:01 -0400
committerGitHub <noreply@github.com>2020-09-04 14:12:01 -0400
commit482b0e6d478d5751407f124bda6296be084c62fa (patch)
tree3950c93299a42461760ead42b84e5c52a054afb6 /Makefile
parent2a52aeec496b9b1581917124c1002b46f4304b37 (diff)
downloadgitea-482b0e6d478d5751407f124bda6296be084c62fa.tar.gz
gitea-482b0e6d478d5751407f124bda6296be084c62fa.zip
Bump min required golang to 1.13 (#12717)
* Bump min required golang to 1.13 * Update config.yaml * Update Makefile * per silverwind feedback * per silverwind Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 777b057094..f8e3668de1 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ HAS_GO = $(shell hash $(GO) > /dev/null 2>&1 && echo "GO" || echo "NOGO" )
COMMA := ,
XGO_VERSION := go-1.15.x
-MIN_GO_VERSION := 001012000
+MIN_GO_VERSION := 001013000
MIN_NODE_VERSION := 010013000
DOCKER_IMAGE ?= gitea/gitea
@@ -186,7 +186,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.12 or greater to build. You can get it at https://golang.org/dl/"; \
+ echo "Gitea requires Go 1.13 or greater to build. You can get it at https://golang.org/dl/"; \
exit 1; \
fi