Skip to content

Commit bab1204

Browse files
Use pre-built hugo binary in release step (#12725)
* Use pre-built hugo binary in release step * decrease verbosity of tar
1 parent b51bd7f commit bab1204

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
@@ -617,7 +617,7 @@ release-docs: | $(DIST_DIRS) docs
617617
.PHONY: docs
618618
docs:
619619
@hash hugo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
620-
$(GO) get -u github.com/gohugoio/hugo; \
620+
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; \
621621
fi
622622
cd docs; make trans-copy clean build-offline;
623623

0 commit comments

Comments
 (0)