Skip to content

Commit 758627c

Browse files
authored
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
1 parent 378acc9 commit 758627c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ help:
190190
go-check:
191191
$(eval GO_VERSION := $(shell printf "%03d%03d%03d" $(shell $(GO) version | grep -Eo '[0-9]+\.[0-9.]+' | tr '.' ' ');))
192192
@if [ "$(GO_VERSION)" -lt "$(MIN_GO_VERSION)" ]; then \
193-
echo "Gitea requires Go 1.13 or greater to build. You can get it at https://golang.org/dl/"; \
193+
echo "Gitea requires Go 1.14 or greater to build. You can get it at https://golang.org/dl/"; \
194194
exit 1; \
195195
fi
196196

0 commit comments

Comments
 (0)