Skip to content

Commit 66afae7

Browse files
techknowlogickGitea
authored and
Gitea
committed
release/v1.15: set min go version to min upstream supported go1.16 (go-gitea#16710)
* release/v1.15: set min go version to min upstream supported 1.16 * update drone
1 parent 8aa63c3 commit 66afae7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.drone.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ steps:
8484

8585
- name: build-backend-no-gcc
8686
pull: always
87-
image: golang:1.15 # this step is kept as the lowest version of golang that we support
87+
image: golang:1.16 # this step is kept as the lowest version of golang that we support
8888
environment:
8989
GO111MODULE: on
9090
GOPROXY: off

Makefile

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

2727
XGO_VERSION := go-1.16.x
28-
MIN_GO_VERSION := 001015000
28+
MIN_GO_VERSION := 001016000
2929
MIN_NODE_VERSION := 012017000
3030

3131
DOCKER_IMAGE ?= gitea/gitea
@@ -200,7 +200,7 @@ help:
200200
go-check:
201201
$(eval GO_VERSION := $(shell printf "%03d%03d%03d" $(shell $(GO) version | grep -Eo '[0-9]+\.[0-9.]+' | tr '.' ' ');))
202202
@if [ "$(GO_VERSION)" -lt "$(MIN_GO_VERSION)" ]; then \
203-
echo "Gitea requires Go 1.15 or greater to build. You can get it at https://golang.org/dl/"; \
203+
echo "Gitea requires Go 1.16 or greater to build. You can get it at https://golang.org/dl/"; \
204204
exit 1; \
205205
fi
206206

docs/config.yaml

+1-1
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.14.6
22-
minGoVersion: 1.15
22+
minGoVersion: 1.16
2323
goVersion: 1.16
2424
minNodeVersion: 12.17
2525

0 commit comments

Comments
 (0)