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 <lauris@nix.lv>
release/v1.15
techknowlogick 2020-07-15 17:39:45 -04:00 committed by GitHub
parent fd9e8951d8
commit 6ea2701cd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;