Skip to content

Commit 482b0e6

Browse files
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 <[email protected]>
1 parent 2a52aee commit 482b0e6

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.drone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ steps:
5757

5858
- name: build-backend-no-gcc
5959
pull: always
60-
image: golang:1.12 # this step is kept as the lowest version of golang that we support
60+
image: golang:1.13 # this step is kept as the lowest version of golang that we support
6161
environment:
6262
GO111MODULE: on
6363
GOPROXY: off

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ HAS_GO = $(shell hash $(GO) > /dev/null 2>&1 && echo "GO" || echo "NOGO" )
2626
COMMA := ,
2727

2828
XGO_VERSION := go-1.15.x
29-
MIN_GO_VERSION := 001012000
29+
MIN_GO_VERSION := 001013000
3030
MIN_NODE_VERSION := 010013000
3131

3232
DOCKER_IMAGE ?= gitea/gitea
@@ -186,7 +186,7 @@ help:
186186
go-check:
187187
$(eval GO_VERSION := $(shell printf "%03d%03d%03d" $(shell go version | grep -Eo '[0-9]+\.[0-9.]+' | tr '.' ' ');))
188188
@if [ "$(GO_VERSION)" -lt "$(MIN_GO_VERSION)" ]; then \
189-
echo "Gitea requires Go 1.12 or greater to build. You can get it at https://golang.org/dl/"; \
189+
echo "Gitea requires Go 1.13 or greater to build. You can get it at https://golang.org/dl/"; \
190190
exit 1; \
191191
fi
192192

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ or if sqlite support is required:
4040

4141
The `build` target is split into two sub-targets:
4242

43-
- `make backend` which requires [Go 1.12](https://golang.org/dl/) or greater.
43+
- `make backend` which requires [Go 1.13](https://golang.org/dl/) or greater.
4444
- `make frontend` which requires [Node.js 10.13](https://nodejs.org/en/download/) or greater.
4545

4646
If pre-built frontend files are present it is possible to only build the backend:

docs/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ params:
1919
author: The Gitea Authors
2020
website: https://docs.gitea.io
2121
version: 1.12.4
22-
minGoVersion: 1.12
22+
minGoVersion: 1.13
2323
goVersion: 1.15
2424
minNodeVersion: 10.13
2525

0 commit comments

Comments
 (0)