Skip to content

Commit 6ea2701

Browse files
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 <[email protected]>
1 parent fd9e895 commit 6ea2701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ release-docs: | $(DIST_DIRS) docs
587587
.PHONY: docs
588588
docs:
589589
@hash hugo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
590-
GO111MODULE=off $(GO) get -u github.com/gohugoio/hugo; \
590+
$(GO) get -u github.com/gohugoio/hugo; \
591591
fi
592592
cd docs; make trans-copy clean build-offline;
593593

0 commit comments

Comments
 (0)