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>
This commit is contained in:
parent
fd9e8951d8
commit
6ea2701cd9
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -587,7 +587,7 @@ release-docs: | $(DIST_DIRS) docs
|
||||||
.PHONY: docs
|
.PHONY: docs
|
||||||
docs:
|
docs:
|
||||||
@hash hugo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
@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
|
fi
|
||||||
cd docs; make trans-copy clean build-offline;
|
cd docs; make trans-copy clean build-offline;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue