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>
tokarchuk/v1.17
techknowlogick 4 years ago committed by GitHub
parent fd9e8951d8
commit 6ea2701cd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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;

Loading…
Cancel
Save