release/v1.15: set min go version to min upstream supported go1.16 (#16710)
* release/v1.15: set min go version to min upstream supported 1.16 * update dronerelease/v1.15
parent
b6508b872b
commit
0dc808212b
|
@ -84,7 +84,7 @@ steps:
|
||||||
|
|
||||||
- name: build-backend-no-gcc
|
- name: build-backend-no-gcc
|
||||||
pull: always
|
pull: always
|
||||||
image: golang:1.15 # this step is kept as the lowest version of golang that we support
|
image: golang:1.16 # this step is kept as the lowest version of golang that we support
|
||||||
environment:
|
environment:
|
||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
GOPROXY: off
|
GOPROXY: off
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -25,7 +25,7 @@ HAS_GO = $(shell hash $(GO) > /dev/null 2>&1 && echo "GO" || echo "NOGO" )
|
||||||
COMMA := ,
|
COMMA := ,
|
||||||
|
|
||||||
XGO_VERSION := go-1.16.x
|
XGO_VERSION := go-1.16.x
|
||||||
MIN_GO_VERSION := 001015000
|
MIN_GO_VERSION := 001016000
|
||||||
MIN_NODE_VERSION := 012017000
|
MIN_NODE_VERSION := 012017000
|
||||||
|
|
||||||
DOCKER_IMAGE ?= gitea/gitea
|
DOCKER_IMAGE ?= gitea/gitea
|
||||||
|
@ -200,7 +200,7 @@ help:
|
||||||
go-check:
|
go-check:
|
||||||
$(eval GO_VERSION := $(shell printf "%03d%03d%03d" $(shell $(GO) version | grep -Eo '[0-9]+\.[0-9.]+' | tr '.' ' ');))
|
$(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 \
|
@if [ "$(GO_VERSION)" -lt "$(MIN_GO_VERSION)" ]; then \
|
||||||
echo "Gitea requires Go 1.15 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/"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ params:
|
||||||
author: The Gitea Authors
|
author: The Gitea Authors
|
||||||
website: https://docs.gitea.io
|
website: https://docs.gitea.io
|
||||||
version: 1.14.6
|
version: 1.14.6
|
||||||
minGoVersion: 1.15
|
minGoVersion: 1.16
|
||||||
goVersion: 1.16
|
goVersion: 1.16
|
||||||
minNodeVersion: 12.17
|
minNodeVersion: 12.17
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue