summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2020-07-15 17:39:45 -0400
committerGitHub <noreply@github.com>2020-07-15 22:39:45 +0100
commit6ea2701cd935f1405293d9449a25d4ca1e28233d (patch)
tree557f180a6c292977b4b5b2eeb2bf5e3940c028f8 /Makefile
parentfd9e8951d8906b5c523a9621471c638eae769620 (diff)
downloadgitea-6ea2701cd935f1405293d9449a25d4ca1e28233d.tar.gz
gitea-6ea2701cd935f1405293d9449a25d4ca1e28233d.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 324a778093..1b4b10a094 100644
--- a/Makefile
+++ b/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;