fix pipeline to release builds (#479)

fix regression of #478

Reviewed-on: https://gitea.com/gitea/tea/pulls/479
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
This commit is contained in:
6543 2022-03-29 08:29:47 +08:00
parent 329200b1ef
commit e54b32493d
2 changed files with 1 additions and 2 deletions

View File

@ -81,7 +81,6 @@ steps:
environment:
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
commands:
- export PATH=$PATH:$GOPATH/bin
- make release
when:
event:

View File

@ -115,7 +115,7 @@ build-image:
docker build --build-arg VERSION=$(TEA_VERSION) -t gitea/tea:$(TEA_VERSION_TAG) .
.PHONY: release
release: release-dirs release-os release-compress release-check
release: release-dirs install-release-tools release-os release-compress release-check
.PHONY: release-dirs
release-dirs: