From bab1204db4c6f0b3346a84b3c37fd6386fcee48d Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Sat, 5 Sep 2020 02:24:36 -0400 Subject: [PATCH] Use pre-built hugo binary in release step (#12725) * Use pre-built hugo binary in release step * decrease verbosity of tar --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bdf3855b2..a39484620 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;