From e54b32493d641e1a1fdf4b296d8a2033a7e0ad4f Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Tue, 29 Mar 2022 08:29:47 +0800 Subject: [PATCH] fix pipeline to release builds (#479) fix regression of #478 Reviewed-on: https://gitea.com/gitea/tea/pulls/479 Reviewed-by: Andrew Thornton Reviewed-by: John Olheiser --- .drone.yml | 1 - Makefile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 698066c..df3ad24 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: diff --git a/Makefile b/Makefile index e2e3aa0..38246fd 100644 --- a/Makefile +++ b/Makefile @@ -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: