aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2020-09-05 02:24:36 -0400
committerGitHub <noreply@github.com>2020-09-05 07:24:36 +0100
commitbab1204db4c6f0b3346a84b3c37fd6386fcee48d (patch)
treeb7a279201613444f75afbd4b87153a3663456007 /Makefile
parentb51bd7f1d62cd623601185162d84ac29adb25366 (diff)
downloadgitea-bab1204db4c6f0b3346a84b3c37fd6386fcee48d.tar.gz
gitea-bab1204db4c6f0b3346a84b3c37fd6386fcee48d.zip
Use pre-built hugo binary in release step (#12725)
* Use pre-built hugo binary in release step * decrease verbosity of tar
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bdf3855b27..a394846200 100644
--- a/Makefile
+++ b/Makefile
@@ -617,7 +617,7 @@ release-docs: | $(DIST_DIRS) docs
.PHONY: docs
docs:
@hash hugo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
- $(GO) get -u github.com/gohugoio/hugo; \
+ curl -sL https://github.com/gohugoio/hugo/releases/download/v0.74.3/hugo_0.74.3_Linux-64bit.tar.gz | tar zxf - -C /tmp && mv /tmp/hugo /usr/bin/hugo && chmod +x /usr/bin/hugo; \
fi
cd docs; make trans-copy clean build-offline;