Skip to content

Commit

Permalink
Release docs as archive (#12253)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
techknowlogick and lafriks authored Jul 15, 2020
1 parent fd9e895 commit 6ea2701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6ea2701

Please sign in to comment.