From 82bfa1a5f826bbd5d4a5a7f6bb4b994f4d6e9983 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Wed, 15 Jul 2020 12:31:18 -0400 Subject: [PATCH] Release docs as archive It is ok to use go modules at this point as release-source make target has already been run. Otherwise hugo fails to build. Example of failed build: https://drone.gitea.io/go-gitea/gitea/27976/5/3 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 324a77809345e..1b4b10a094492 100644 --- a/Makefile +++ b/Makefile @@ -587,7 +587,7 @@ release-docs: | $(DIST_DIRS) docs .PHONY: docs docs: @hash hugo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ - GO111MODULE=off $(GO) get -u github.com/gohugoio/hugo; \ + $(GO) get -u github.com/gohugoio/hugo; \ fi cd docs; make trans-copy clean build-offline;