From 6ea2701cd935f1405293d9449a25d4ca1e28233d Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Wed, 15 Jul 2020 17:39:45 -0400 Subject: [PATCH] Release docs as archive (#12253) 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 Co-authored-by: Lauris BH --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 324a778093..1b4b10a094 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;